Use custom secret attempt #83

This commit is contained in:
Mans Ziesel 2024-10-13 20:02:19 +02:00
parent d3cf3773f5
commit f5e78745ef
2 changed files with 14 additions and 14 deletions

View File

@ -28,16 +28,3 @@ metadata:
spec:
ca:
secretName: mziesel-root-secret
---
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
---

View File

@ -1,3 +1,16 @@
---
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:
@ -10,4 +23,4 @@ spec:
- name: whoami
port: web
tls:
secretName: cert-manager/whoami.mziesel.nl-secret
secretName: whoami.mziesel.nl-secret