3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

change configmap-env helm hook weight to be installed before job-db-migrate

This commit is contained in:
jessebot 2023-07-06 12:44:16 +02:00
parent 4b6fd9f7e6
commit 03bebdad25

View File

@ -4,6 +4,9 @@ metadata:
name: {{ include "mastodon.fullname" . }}-env
labels:
{{- include "mastodon.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-3"
data:
{{- if .Values.postgresql.enabled }}
DB_HOST: {{ template "mastodon.postgresql.fullname" . }}