diff --git a/templates/deployment-web.yaml b/templates/deployment-web.yaml index fb38d91..7ff9b35 100644 --- a/templates/deployment-web.yaml +++ b/templates/deployment-web.yaml @@ -43,10 +43,20 @@ spec: value: {{ .Values.settings.email.emailHost }} - name: EMAIL_PORT value: {{ .Values.settings.email.emailPort }} + {{- if .Values.settings.email.emailUseTls }} - name: EMAIL_USE_TLS - value: {{ .Values.settings.email.emailUseTls }} + value: "True" + {{- else }} + - name: EMAIL_USE_TLS + value: "False" + {{- end }} + {{- if .Values.settings.email.emailUseSsl }} - name: EMAIL_USE_SSL - value: {{ .Values.settings.email.emailUseSsl }} + value: "True" + {{- else }} + - name: EMAIL_USE_SSL + value: "False" + {{- end }} {{- end }} {{- if .Values.settings.email.externalSecret.enabled }} - name: EMAIL_HOST_USER