Argo/Deployments/argo-ingress.yaml

23 lines
527 B
YAML
Raw Normal View History

2022-06-04 16:13:14 +02:00
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: argocd-server
2022-06-04 16:19:19 +02:00
namespace: default
2022-06-04 16:13:14 +02:00
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`argocd.roxedus.com`)
priority: 10
services:
2022-06-04 16:51:09 +02:00
- name: argo-cd-argocd-server
2022-06-04 16:13:14 +02:00
port: 80
- kind: Rule
match: Host(`argocd.roxedus.com`) && Headers(`Content-Type`, `application/grpc`)
priority: 11
services:
2022-06-04 16:51:09 +02:00
- name: argo-cd-argocd-server
2022-06-04 16:13:14 +02:00
port: 80
scheme: h2c