Argo/Deployments/argo-ingress.yaml

29 lines
663 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:
2022-06-04 23:45:54 +02:00
- web
2022-06-04 16:13:14 +02:00
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
2022-06-04 18:07:58 +02:00
- kind: Rule
match: Host(`roxedus.com`)
priority: 10
services:
- name: argo-cd-argocd-server
port: 80