esxi-cluster/argo/resources/argocd/ingress_route.yaml

26 lines
554 B
YAML
Raw Normal View History

2024-01-19 10:30:38 -05:00
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: argocd-server
namespace: argocd
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`esxi-argo.lab.smig.tech`)
priority: 10
services:
- name: argocd-server
port: 80
- kind: Rule
match: Host(`esxi-argo.lab.smig.tech`) && Headers(`Content-Type`, `application/grpc`)
priority: 11
services:
- name: argocd-server
port: 80
scheme: h2c
tls:
certResolver: default