27 lines
482 B
YAML
27 lines
482 B
YAML
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: whoami.mziesel.nl-cert
|
|
spec:
|
|
secretName: whoami.mziesel.nl-secret
|
|
issuerRef:
|
|
name: mziesel-ca-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
|