feat: argocd ingress
This commit is contained in:
parent
ed9024d29a
commit
b701c07ae5
1 changed files with 25 additions and 0 deletions
25
argo/resources/argocd/ingress_route.yaml
Normal file
25
argo/resources/argocd/ingress_route.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue