3
0
mirror of https://github.com/mastodon/chart synced 2025-05-17 20:43:21 +00:00

update configmap helm hook to install before everything else

This commit is contained in:
jessebot 2023-07-06 12:07:45 +02:00
parent 710c29027a
commit f61a008dce
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.0.1
version: 4.0.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

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