27 lines
603 B
YAML
27 lines
603 B
YAML
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: argocd-server
|
||
|
namespace: argocd
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: "traefik-inter"
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- kind: Rule
|
||
|
match: Host(`argo.beta.entos`)
|
||
|
priority: 10
|
||
|
services:
|
||
|
- name: argocd-server
|
||
|
port: 80
|
||
|
- kind: Rule
|
||
|
match: Host(`argo.beta.entos`) && Headers(`Content-Type`, `application/grpc`)
|
||
|
priority: 11
|
||
|
services:
|
||
|
- name: argocd-server
|
||
|
port: 80
|
||
|
scheme: h2c
|
||
|
tls:
|
||
|
certResolver: default
|