diff --git a/deploy/templates/email-worker-deployment.yaml b/deploy/templates/email-worker-deployment.yaml index aae2b90..b083db8 100644 --- a/deploy/templates/email-worker-deployment.yaml +++ b/deploy/templates/email-worker-deployment.yaml @@ -43,6 +43,42 @@ spec: name: {{ include "gitdata.fullname" . }}-config key: APP_REDIS_URL optional: true + - name: APP_SMTP_HOST + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_HOST + optional: true + - name: APP_SMTP_PORT + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_PORT + optional: true + - name: APP_SMTP_USERNAME + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_USERNAME + optional: true + - name: APP_SMTP_PASSWORD + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_PASSWORD + optional: true + - name: APP_SMTP_FROM + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_FROM + optional: true + - name: APP_SMTP_TLS + valueFrom: + configMapKeyRef: + name: {{ include "gitdata.fullname" . }}-config + key: APP_SMTP_TLS + optional: true {{- range .Values.emailWorker.env }} - name: {{ .name }} value: {{ .value | quote }}