From 26eaff3b0dbf41b129e3da99e45fe246c0c6c8dd Mon Sep 17 00:00:00 2001 From: Andrei Kurilov <18027129+akurilov@users.noreply.github.com> Date: Sun, 6 Oct 2024 21:21:40 +0300 Subject: [PATCH] feat: TLS --- helm/int-email/templates/issuer-letsencrypt.yaml | 9 ++++++--- helm/int-email/values-awakari-com.yaml | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/helm/int-email/templates/issuer-letsencrypt.yaml b/helm/int-email/templates/issuer-letsencrypt.yaml index 37ff09f..c68b7c6 100644 --- a/helm/int-email/templates/issuer-letsencrypt.yaml +++ b/helm/int-email/templates/issuer-letsencrypt.yaml @@ -11,6 +11,9 @@ spec: privateKeySecretRef: name: {{ .Values.cert.issuer.name }} solvers: - - http01: - ingress: - name: "{{ $fullName }}" + - dns01: + cloudDNS: # Example for Google Cloud DNS, use your appropriate provider + project: "{{ .Values.cloud.project }}" + serviceAccountSecretRef: + name: gcp-dns-secret + key: key.json diff --git a/helm/int-email/values-awakari-com.yaml b/helm/int-email/values-awakari-com.yaml index 645d3e6..faf50ee 100644 --- a/helm/int-email/values-awakari-com.yaml +++ b/helm/int-email/values-awakari-com.yaml @@ -23,3 +23,6 @@ ingress: - secretName: int-email-tls-server hosts: - email.awakari.com + +cloud: + project: "awakari"