fix: add SMTP env vars to email-worker deployment
This commit is contained in:
parent
603e14e53b
commit
b37425d3c7
@ -43,6 +43,42 @@ spec:
|
|||||||
name: {{ include "gitdata.fullname" . }}-config
|
name: {{ include "gitdata.fullname" . }}-config
|
||||||
key: APP_REDIS_URL
|
key: APP_REDIS_URL
|
||||||
optional: true
|
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 }}
|
{{- range .Values.emailWorker.env }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user