diff --git a/src/helm/meet/templates/backend_job.yaml b/src/helm/meet/templates/backend_job.yaml index bd931541..a522da0c 100644 --- a/src/helm/meet/templates/backend_job.yaml +++ b/src/helm/meet/templates/backend_job.yaml @@ -6,8 +6,9 @@ kind: Job metadata: name: {{ $fullName }}-migrate namespace: {{ .Release.Namespace | quote }} - {{- with .Values.backend.migrateJobAnnotations }} annotations: + argocd.argoproj.io/sync-options: Replace=true,Force=true + {{- with .Values.backend.migrateJobAnnotations }} {{- toYaml . | nindent 4 }} {{- end }} labels: diff --git a/src/helm/meet/templates/backend_job_createsuperuser.yaml b/src/helm/meet/templates/backend_job_createsuperuser.yaml index e14620a4..b39f8417 100644 --- a/src/helm/meet/templates/backend_job_createsuperuser.yaml +++ b/src/helm/meet/templates/backend_job_createsuperuser.yaml @@ -6,8 +6,9 @@ kind: Job metadata: name: {{ $fullName }}-createsuperuser namespace: {{ .Release.Namespace | quote }} - {{- with .Values.backend.migrateJobAnnotations }} annotations: + argocd.argoproj.io/sync-options: Replace=true,Force=true + {{- with .Values.backend.migrateJobAnnotations }} {{- toYaml . | nindent 4 }} {{- end }} labels: