Rename env vars to correct keys

This commit is contained in:
2023-03-28 19:59:53 +00:00
parent a8d706a9d2
commit e0fec9dd00
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.7.0" HELM_CHART_VERSION: "0.7.1"
stages: stages:
- deploy - deploy

View File

@@ -7,6 +7,7 @@ metadata:
data: data:
SMTP_PORT: '2525' SMTP_PORT: '2525'
SMTP_AUTH: 'true' SMTP_AUTH: 'true'
SMTP_FROM: 'noreply@customer.v3.nu'
{{- if .Values.email }} {{- if .Values.email }}
{{- if .Values.email.forceFromEmail }} {{- if .Values.email.forceFromEmail }}
SMTP_FORCE_FROM: {{ .Values.email.forceFromEmail }} SMTP_FORCE_FROM: {{ .Values.email.forceFromEmail }}
@@ -16,11 +17,11 @@ data:
{{- end }} {{- end }}
{{- if .Values.email.allowedDomains }} {{- if .Values.email.allowedDomains }}
# join list of allowd domains with comma # join list of allowd domains with comma
SMTP_ALLOWED_DOMAINS: {{ .Values.email.allowedDomains | join "," }} SMTP_ALLOWONLY_DOMAINS: {{ .Values.email.allowedDomains | join "," }}
{{- end }} {{- end }}
{{- if .Values.email.allowedEmails }} {{- if .Values.email.allowedEmails }}
# join list of allowd emails with comma # join list of allowd emails with comma
SMTP_ALLOWED_EMAILS: {{ .Values.email.allowedEmails | join "," }} SMTP_ALLOWONLY_EMAILS: {{ .Values.email.allowedEmails | join "," }}
{{- end }} {{- end }}
{{- else }} {{- else }}
SMTP_FORCE_FROM: "noreply@customer.v3.nu" SMTP_FORCE_FROM: "noreply@customer.v3.nu"