💚(ci) fix argocd job which handles sync
Fixed by @rouja. ArgoCD should be more robust than ever, while syncing with our code.
This commit is contained in:
committed by
aleb_the_flash
parent
271389d459
commit
eeb4dae12d
@@ -6,8 +6,9 @@ kind: Job
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}-migrate
|
name: {{ $fullName }}-migrate
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
{{- with .Values.backend.migrateJobAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Replace=true,Force=true
|
||||||
|
{{- with .Values.backend.migrateJobAnnotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -6,8 +6,9 @@ kind: Job
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}-createsuperuser
|
name: {{ $fullName }}-createsuperuser
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
{{- with .Values.backend.migrateJobAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Replace=true,Force=true
|
||||||
|
{{- with .Values.backend.migrateJobAnnotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user