Browse Source

Fix variable quoting

master
Fábio Kaiser Rauber 3 years ago
parent
commit
4f2ba0be4b
  1. 20
      charts/emailleg/v1.4.0/templates/deployment.yaml

20
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

Loading…
Cancel
Save