Argo/Deployments/argo-ingress.yaml
2022-06-04 23:26:34 +02:00

29 lines
669 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: argocd-server
namespace: default
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`argocd.roxedus.com`)
priority: 10
services:
- name: argo-cd-argocd-server
port: 80
- kind: Rule
match: Host(`argocd.roxedus.com`) && Headers(`Content-Type`, `application/grpc`)
priority: 11
services:
- name: argo-cd-argocd-server
port: 80
scheme: h2c
- kind: Rule
match: Host(`roxedus.com`)
priority: 10
services:
- name: argo-cd-argocd-server
port: 80