Merge pull request #161 from numerique-gouv/fix-secret-mep-issue

🔒️(helm) fix secret sync precedence
This commit is contained in:
rouja
2024-09-20 15:04:29 +02:00
committed by GitHub

View File

@@ -3,6 +3,10 @@ kind: Secret
metadata:
name: backend
namespace: {{ .Release.Namespace | quote }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": before-hook-creation
stringData:
DJANGO_SUPERUSER_EMAIL: {{ .Values.djangoSuperUserEmail }}
DJANGO_SUPERUSER_PASSWORD: {{ .Values.djangoSuperUserPass }}