🚀(helm) transform migrate job to Presync job
Apply db migration before syncing all the pods. It avoids triggering errors when running the migrate job.
This commit is contained in:
committed by
aleb_the_flash
parent
1c4efd523b
commit
7c488a9807
@@ -4,6 +4,9 @@ image:
|
||||
tag: "main"
|
||||
|
||||
backend:
|
||||
migrateJobAnnotations:
|
||||
argocd.argoproj.io/hook: PreSync
|
||||
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
||||
envVars:
|
||||
DJANGO_CSRF_TRUSTED_ORIGINS: http://desk-staging.beta.numerique.gouv.fr,https://desk-staging.beta.numerique.gouv.fr
|
||||
DJANGO_CONFIGURATION: Production
|
||||
|
||||
Reference in New Issue
Block a user