diff --git a/charts/signoz/templates/schema-migrator-async/migrations.yaml b/charts/signoz/templates/schema-migrator-async/migrations.yaml index 5b08123..0d4c5f1 100644 --- a/charts/signoz/templates/schema-migrator-async/migrations.yaml +++ b/charts/signoz/templates/schema-migrator-async/migrations.yaml @@ -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: