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 - name: HOSTNAMES
value: "mail.{{ .Values.mail.domain }}" value: "mail.{{ .Values.mail.domain }}"
- name: DOMAIN - name: DOMAIN
value: {{ .Values.mail.domain }} value: {{ .Values.mail.domain | quote }}
- name: POSTMASTER - name: POSTMASTER
value: "admin" value: "admin"
ports: ports:
@ -75,15 +75,15 @@ spec:
- name: HOSTNAMES - name: HOSTNAMES
value: "mail.{{ .Values.mail.domain }}" value: "mail.{{ .Values.mail.domain }}"
- name: DOMAIN - name: DOMAIN
value: {{ .Values.mail.domain }} value: {{ .Values.mail.domain | quote }}
- name: POSTMASTER - name: POSTMASTER
value: "admin" value: "admin"
- name: MESSAGE_SIZE_LIMIT - name: MESSAGE_SIZE_LIMIT
value: {{ .Values.mail.messageSizeLimit }} value: {{ .Values.mail.messageSizeLimit | quote }}
- name: RELAYNETS - name: RELAYNETS
value: {{ .Values.mail.relayNets }} value: {{ .Values.mail.relayNets | quote }}
- name: RELAYHOST - name: RELAYHOST
value: {{ .Values.mail.relayHost }} value: {{ .Values.mail.relayHost | quote }}
ports: ports:
- name: smtp - name: smtp
containerPort: 25 containerPort: 25
@ -114,19 +114,19 @@ spec:
imagePullPolicy: {{ .Values.admin.image.pullPolicy }} imagePullPolicy: {{ .Values.admin.image.pullPolicy }}
env: env:
- name: SECRET_KEY - name: SECRET_KEY
value: {{ .Values.mail.secretKey }} value: {{ .Values.mail.secretKey | quote }}
- name: DOMAIN - name: DOMAIN
value: {{ .Values.mail.domain }} value: {{ .Values.mail.domain | quote }}
- name: ENABLE_CERTBOT - name: ENABLE_CERTBOT
value: false value: false
- name: BABEL_DEFAULT_LOCALE - name: BABEL_DEFAULT_LOCALE
value: pt value: pt
- name: WEB_WEBMAIL - name: WEB_WEBMAIL
value: {{ .Values.mail.webmailAddr }} value: {{ .Values.mail.webmailAddr | quote }}
- name: WEBSITE - name: WEBSITE
value: {{ .Values.mail.website }} value: {{ .Values.mail.website | quote }}
- name: SITENAME - name: SITENAME
value: {{ .Values.mail.siteName }} value: {{ .Values.mail.siteName | quote }}
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 80

Loading…
Cancel
Save