parent
c7bc2736de
commit
b8790e0051
2 changed files with 51 additions and 16 deletions
|
@ -5,17 +5,17 @@ metadata:
|
||||||
name: argo-cd-http
|
name: argo-cd-http
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: contour
|
- name: contour
|
||||||
sectionName: http
|
sectionName: http
|
||||||
namespace: projectcontour
|
namespace: projectcontour
|
||||||
hostnames:
|
hostnames:
|
||||||
- argocd.icb4dc0.de
|
- argocd.icb4dc0.de
|
||||||
rules:
|
rules:
|
||||||
- filters:
|
- filters:
|
||||||
- type: RequestRedirect
|
- type: RequestRedirect
|
||||||
requestRedirect:
|
requestRedirect:
|
||||||
scheme: https
|
scheme: https
|
||||||
statusCode: 301
|
statusCode: 301
|
||||||
---
|
---
|
||||||
apiVersion: gateway.networking.k8s.io/v1
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: HTTPRoute
|
kind: HTTPRoute
|
||||||
|
@ -23,12 +23,32 @@ metadata:
|
||||||
name: argo-cd-https
|
name: argo-cd-https
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: contour
|
- name: contour
|
||||||
sectionName: https
|
sectionName: argocd
|
||||||
namespace: projectcontour
|
namespace: projectcontour
|
||||||
hostnames:
|
hostnames:
|
||||||
- argocd.icb4dc0.de
|
- argocd.icb4dc0.de
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: argo-cd-argocd-server
|
- name: argo-cd-argocd-server
|
||||||
port: 443
|
port: 443
|
||||||
|
---
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: GRPCRoute
|
||||||
|
metadata:
|
||||||
|
name: argo-cd-grpc
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- name: contour
|
||||||
|
sectionName: argocd
|
||||||
|
namespace: projectcontour
|
||||||
|
hostnames:
|
||||||
|
- argocd.icb4dc0.de
|
||||||
|
rules:
|
||||||
|
- matches:
|
||||||
|
- headers:
|
||||||
|
- name: Content-Type
|
||||||
|
value: application/grpc
|
||||||
|
backendRefs:
|
||||||
|
- name: argo-cd-argocd-server
|
||||||
|
port: 443
|
||||||
|
|
|
@ -52,6 +52,21 @@ spec:
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- name: forgejo-tls
|
- name: forgejo-tls
|
||||||
|
|
||||||
|
- name: argocd
|
||||||
|
hostname: "argocd.icb4dc0.de"
|
||||||
|
port: 443
|
||||||
|
protocol: HTTPS
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: argo-system
|
||||||
|
tls:
|
||||||
|
mode: Terminate
|
||||||
|
certificateRefs:
|
||||||
|
- name: argocd-tls
|
||||||
|
|
||||||
- name: ssh
|
- name: ssh
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 22
|
port: 22
|
||||||
|
|
Loading…
Add table
Reference in a new issue