🐛(argocd) fix job synchronisation issue
Sometime argocd is locked because of immutable fiels on jobs. The annotation tells argocd to do a replace to avoid this behaviour
This commit is contained in:
@@ -11,6 +11,7 @@ and this project adheres to
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- ✨(ci) add helmfile linter and fix argocd sync #424
|
||||||
- ✨(domains) add endpoint to list and retrieve domain accesses #404
|
- ✨(domains) add endpoint to list and retrieve domain accesses #404
|
||||||
- 🍱(dev) embark dimail-api as container #366
|
- 🍱(dev) embark dimail-api as container #366
|
||||||
- ✨(dimail) allow la regie to request a token for another user #416
|
- ✨(dimail) allow la regie to request a token for another user #416
|
||||||
|
|||||||
@@ -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