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