2024-10-25 17:17:42 +00:00
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
2024-10-25 17:32:35 +00:00
|
|
|
name: argocd-server
|
|
|
|
namespace: argocd
|
2024-10-25 17:17:42 +00:00
|
|
|
spec:
|
|
|
|
routes:
|
2024-10-25 17:32:35 +00:00
|
|
|
- kind: Rule
|
|
|
|
match: Host(`argocd.mziesel.nl`)
|
|
|
|
priority: 10
|
|
|
|
services:
|
|
|
|
- name: argocd-server
|
|
|
|
port: 80
|
|
|
|
- kind: Rule
|
|
|
|
match: Host(`argocd.mziesel.nl`) && Header(`Content-Type`, `application/grpc`)
|
|
|
|
priority: 11
|
|
|
|
services:
|
|
|
|
- name: argocd-server
|
|
|
|
port: 80
|
|
|
|
scheme: h2c
|
2024-10-25 17:17:42 +00:00
|
|
|
tls: {}
|