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:
|
|
|
|
- name: argocd-server
|
|
|
|
port: 80
|
|
|
|
- kind: Rule
|
|
|
|
match: Host(`argocd.roxedus.com`) && Headers(`Content-Type`, `application/grpc`)
|
|
|
|
priority: 11
|
|
|
|
services:
|
|
|
|
- name: argocd-server
|
|
|
|
port: 80
|
|
|
|
scheme: h2c
|