From 1c141714a3ca38c825138584760fb1de93a5952e Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 4 Jun 2022 15:38:49 +0200 Subject: [PATCH] Added certificate --- infrastructure/cert-manager/certificate.yaml | 14 ++++++++++++++ infrastructure/cert-manager/kustomization.yaml | 1 + 2 files changed, 15 insertions(+) create mode 100644 infrastructure/cert-manager/certificate.yaml diff --git a/infrastructure/cert-manager/certificate.yaml b/infrastructure/cert-manager/certificate.yaml new file mode 100644 index 0000000..7eef661 --- /dev/null +++ b/infrastructure/cert-manager/certificate.yaml @@ -0,0 +1,14 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: clank + namespace: cert-manager +spec: + commonName: kjuulh.app + secretName: clank-cert + dnsNames: + - kjuulh.app + - "*.kjuulh.app" + issuerRef: + name: letsencrypt-issuer + kind: ClusterIssuer diff --git a/infrastructure/cert-manager/kustomization.yaml b/infrastructure/cert-manager/kustomization.yaml index 883e28d..187d84f 100644 --- a/infrastructure/cert-manager/kustomization.yaml +++ b/infrastructure/cert-manager/kustomization.yaml @@ -6,3 +6,4 @@ resources: - release.yaml - cloudflare-secret.sealed.yaml - cluster-issuer.yaml + - certificate.yaml