From 03bebdad25a958c8a83fa258d477b9b238514f8a Mon Sep 17 00:00:00 2001 From: jessebot Date: Thu, 6 Jul 2023 12:44:16 +0200 Subject: [PATCH] change configmap-env helm hook weight to be installed before job-db-migrate --- templates/configmap-env.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index fbb8788..ac61da7 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -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" . }}