Skip to content

Commit

Permalink
chore(schema-migrator): hook weight 1 for async
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Shahi <[email protected]>
  • Loading branch information
prashant-shahi committed Oct 28, 2024
1 parent 4d9e8b2 commit 792f564
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ metadata:
{{- with .Values.schemaMigrator.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if and .Release.IsUpgrade .Values.schemaMigrator.upgradeHelmHooks }}
{{- if .Values.schemaMigrator.upgradeHelmHooks }}
argocd.argoproj.io/sync-wave: "1"
{{- if .Release.IsUpgrade }}
helm.sh/hook: pre-upgrade
helm.sh/hook-delete-policy: before-hook-creation
helm.sh/hook-weight: "1"
{{- end }}
{{- end }}
spec:
template:
Expand Down

0 comments on commit 792f564

Please sign in to comment.