argocd-test/whoami/base/whoami-ingress.yaml

41 lines
741 B
YAML

---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: whoami.mziesel.nl-cert
spec:
secretName: whoami.mziesel.nl-secret
issuerRef:
name: cloudflare-issuer
kind: ClusterIssuer
dnsNames:
- whoami.mziesel.nl
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: whoami-ingressroute-nossl
spec:
routes:
- match: HostRegexp(`.*`)
kind: Rule
priority: 9999
services:
- name: whoami
port: web
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: whoami-ingressroute
spec:
routes:
- match: HostRegexp(`.*`)
kind: Rule
priority: 9999
services:
- name: whoami
port: web
tls: {}
# secretName: whoami.mziesel.nl-secret