From b0c461267fd024e92a1d661a3833345f2386ddce Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sun, 13 Oct 2024 19:35:41 +0200 Subject: [PATCH] make whoami use custom cert --- whoami/base/whoami-ingress.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/whoami/base/whoami-ingress.yaml b/whoami/base/whoami-ingress.yaml index e637d4c..42652e9 100644 --- a/whoami/base/whoami-ingress.yaml +++ b/whoami/base/whoami-ingress.yaml @@ -1,3 +1,15 @@ +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: @@ -9,4 +21,5 @@ spec: services: - name: whoami port: web - tls: {} + tls: + secretName: whoami.mziesel.nl-secret