From 4f2ba0be4b2956222991eaadf9c07daf452c0345 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Tue, 8 Feb 2022 11:24:15 -0300 Subject: [PATCH] Fix variable quoting --- .../emailleg/v1.4.0/templates/deployment.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/emailleg/v1.4.0/templates/deployment.yaml b/charts/emailleg/v1.4.0/templates/deployment.yaml index 742e37f..904d424 100755 --- a/charts/emailleg/v1.4.0/templates/deployment.yaml +++ b/charts/emailleg/v1.4.0/templates/deployment.yaml @@ -34,7 +34,7 @@ spec: - name: HOSTNAMES value: "mail.{{ .Values.mail.domain }}" - name: DOMAIN - value: {{ .Values.mail.domain }} + value: {{ .Values.mail.domain | quote }} - name: POSTMASTER value: "admin" ports: @@ -75,15 +75,15 @@ spec: - name: HOSTNAMES value: "mail.{{ .Values.mail.domain }}" - name: DOMAIN - value: {{ .Values.mail.domain }} + value: {{ .Values.mail.domain | quote }} - name: POSTMASTER value: "admin" - name: MESSAGE_SIZE_LIMIT - value: {{ .Values.mail.messageSizeLimit }} + value: {{ .Values.mail.messageSizeLimit | quote }} - name: RELAYNETS - value: {{ .Values.mail.relayNets }} + value: {{ .Values.mail.relayNets | quote }} - name: RELAYHOST - value: {{ .Values.mail.relayHost }} + value: {{ .Values.mail.relayHost | quote }} ports: - name: smtp containerPort: 25 @@ -114,19 +114,19 @@ spec: imagePullPolicy: {{ .Values.admin.image.pullPolicy }} env: - name: SECRET_KEY - value: {{ .Values.mail.secretKey }} + value: {{ .Values.mail.secretKey | quote }} - name: DOMAIN - value: {{ .Values.mail.domain }} + value: {{ .Values.mail.domain | quote }} - name: ENABLE_CERTBOT value: false - name: BABEL_DEFAULT_LOCALE value: pt - name: WEB_WEBMAIL - value: {{ .Values.mail.webmailAddr }} + value: {{ .Values.mail.webmailAddr | quote }} - name: WEBSITE - value: {{ .Values.mail.website }} + value: {{ .Values.mail.website | quote }} - name: SITENAME - value: {{ .Values.mail.siteName }} + value: {{ .Values.mail.siteName | quote }} ports: - name: http containerPort: 80