Add IngressRoute object to connect to argocd
This commit is contained in:
parent
a551429497
commit
2b0d591c86
2 changed files with 25 additions and 0 deletions
24
bootstrap/argo-cd/ingress_route.yaml
Normal file
24
bootstrap/argo-cd/ingress_route.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: argocd-server
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- kind: Rule
|
||||||
|
match: Host(`argocd.localhost.mixinet.net`)
|
||||||
|
priority: 10
|
||||||
|
services:
|
||||||
|
- name: argocd-server
|
||||||
|
port: 80
|
||||||
|
- kind: Rule
|
||||||
|
match: Host(`argocd.localhost.mixinet.net`) && Header(`Content-Type`, `application/grpc`)
|
||||||
|
priority: 11
|
||||||
|
services:
|
||||||
|
- name: argocd-server
|
||||||
|
port: 80
|
||||||
|
scheme: h2c
|
||||||
|
tls:
|
||||||
|
certResolver: default
|
|
@ -20,3 +20,4 @@ kind: Kustomization
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
resources:
|
resources:
|
||||||
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.19
|
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.19
|
||||||
|
- ingress_route.yaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue