🔧(mail) use new scaleway email gateway

We modify multiples things :
* settings.py in order to manage the new way to send email with the
scaleway gateway
* helm template to manage new mandatory secret
* helm configuration for staging/preprod/production
This commit is contained in:
Jacques ROUSSEL
2024-10-01 10:47:34 +02:00
committed by Marie
parent de46a50e8d
commit aea15292ee
7 changed files with 49 additions and 11 deletions

View File

@@ -22,3 +22,9 @@ stringData:
{{- if .Values.mail_provisioning_api_credentials }}
MAIL_PROVISIONING_API_CREDENTIALS: {{ .Values.mail_provisioning_api_credentials }}
{{- end }}
{{- if .Values.djangoEmailHostUser }}
DJANGO_EMAIL_HOST_USER: {{ .Values.djangoEmailHostUser }}
{{- end }}
{{- if .Values.djangoEmailHostPassword }}
DJANGO_EMAIL_HOST_PASSWORD: {{ .Values.djangoEmailHostPassword }}
{{- end }}