From f5e78745efb90da6dd2cbf06dc21fc53fa3f5e97 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sun, 13 Oct 2024 20:02:19 +0200 Subject: [PATCH] Use custom secret attempt #83 --- cert-manager/base/mziesel-ca.yaml | 13 ------------- whoami/base/whoami-ingress.yaml | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cert-manager/base/mziesel-ca.yaml b/cert-manager/base/mziesel-ca.yaml index 760e8e4..41d6c84 100644 --- a/cert-manager/base/mziesel-ca.yaml +++ b/cert-manager/base/mziesel-ca.yaml @@ -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 ---- diff --git a/whoami/base/whoami-ingress.yaml b/whoami/base/whoami-ingress.yaml index 9b7a2e1..5cfb25f 100644 --- a/whoami/base/whoami-ingress.yaml +++ b/whoami/base/whoami-ingress.yaml @@ -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