From 4daea164547beb31717dca4687bc98964fc23a84 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 8 Dec 2021 10:43:04 +0700 Subject: [PATCH] feat(external/cert-manager): add cluster issuer With Let's Encrypt prod --- external/cert-manager/templates/issuer.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 external/cert-manager/templates/issuer.yaml diff --git a/external/cert-manager/templates/issuer.yaml b/external/cert-manager/templates/issuer.yaml new file mode 100644 index 00000000..4c594f1a --- /dev/null +++ b/external/cert-manager/templates/issuer.yaml @@ -0,0 +1,17 @@ +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: letsencrypt-prod +spec: + acme: + server: https://acme-v02.api.letsencrypt.org/directory + email: {{ .Values.issuer.email }} + privateKeySecretRef: + name: letsencrypt-prod + solvers: + - dns01: + cloudflare: + email: {{ .Values.issuer.email }} + apiTokenSecretRef: + name: cloudflare-api-token-secret + key: api-token