3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

Fix ordering for db:prepare and db:migrate

This commit is contained in:
Tim Campbell 2025-03-06 11:30:20 +01:00
parent 36581ab5b7
commit 1d5f7f5be7

View File

@ -24,7 +24,11 @@ metadata:
"helm.sh/hook": post-install,post-upgrade "helm.sh/hook": post-install,post-upgrade
{{- end }} {{- end }}
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
{{- if .prepare }}
"helm.sh/hook-weight": "-3"
{{- else }}
"helm.sh/hook-weight": "-2" "helm.sh/hook-weight": "-2"
{{- end }}
spec: spec:
template: template:
metadata: metadata: