1
0
Fork 0

Add IngressRoute object to connect to argocd

This commit is contained in:
Sergio Talens-Oliag 2025-04-28 09:23:40 +02:00
parent a551429497
commit 2b0d591c86
Signed by: sto
GPG key ID: 821AEE0FD167FBDF
2 changed files with 25 additions and 0 deletions

View 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

View file

@ -20,3 +20,4 @@ kind: Kustomization
namespace: argocd
resources:
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.19
- ingress_route.yaml