From e0fec9dd00e2023e2eb067cc4422f6501308ce8f Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Tue, 28 Mar 2023 19:59:53 +0000 Subject: [PATCH] Rename env vars to correct keys --- .gitlab-ci.yml | 2 +- Chart/templates/configmap.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8968723..ae44538 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "0.7.0" + HELM_CHART_VERSION: "0.7.1" stages: - deploy diff --git a/Chart/templates/configmap.yaml b/Chart/templates/configmap.yaml index 97f0a80..fb905e8 100644 --- a/Chart/templates/configmap.yaml +++ b/Chart/templates/configmap.yaml @@ -7,6 +7,7 @@ metadata: data: SMTP_PORT: '2525' SMTP_AUTH: 'true' + SMTP_FROM: 'noreply@customer.v3.nu' {{- if .Values.email }} {{- if .Values.email.forceFromEmail }} SMTP_FORCE_FROM: {{ .Values.email.forceFromEmail }} @@ -16,11 +17,11 @@ data: {{- end }} {{- if .Values.email.allowedDomains }} # join list of allowd domains with comma - SMTP_ALLOWED_DOMAINS: {{ .Values.email.allowedDomains | join "," }} + SMTP_ALLOWONLY_DOMAINS: {{ .Values.email.allowedDomains | join "," }} {{- end }} {{- if .Values.email.allowedEmails }} # join list of allowd emails with comma - SMTP_ALLOWED_EMAILS: {{ .Values.email.allowedEmails | join "," }} + SMTP_ALLOWONLY_EMAILS: {{ .Values.email.allowedEmails | join "," }} {{- end }} {{- else }} SMTP_FORCE_FROM: "noreply@customer.v3.nu"