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

27 lines
489 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
spec:
routes:
- match: Path(`/`)
kind: Rule
services:
- name: whoami
port: web
tls: {}
# secretName: whoami.mziesel.nl-secret