31 lines
754 B
YAML
31 lines
754 B
YAML
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: argocd-server
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`gitops.spamasaurus.com`)
|
||
|
kind: Rule
|
||
|
priority: 10
|
||
|
services:
|
||
|
- name: argocd-server
|
||
|
port: 80
|
||
|
namespace: argocd
|
||
|
middlewares:
|
||
|
- name: security-headers@file
|
||
|
- name: compression@file
|
||
|
- match: Host(`gitops.spamasaurus.com`) && Headers(`Content-Type`, `application/grpc`)
|
||
|
kind: Rule
|
||
|
priority: 11
|
||
|
services:
|
||
|
- name: argocd-server
|
||
|
port: 80
|
||
|
namespace: argocd
|
||
|
scheme: h2c
|
||
|
middlewares:
|
||
|
- name: security-headers@file
|
||
|
- name: compression@file
|