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

change deletion policy for helm hook configmap

This commit is contained in:
jessebot 2023-07-06 16:00:14 +02:00
parent 9313fadc1c
commit d35502a77c
3 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.4
version: 4.0.5
# 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

@ -7,6 +7,7 @@ metadata:
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-weight": "-3"
"helm.sh/resource-policy": keep
data:
{{- if .Values.postgresql.enabled }}
DB_HOST: {{ template "mastodon.postgresql.fullname" . }}

View File

@ -6,6 +6,7 @@ metadata:
{{- include "mastodon.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": post-install,pre-upgrade
"helm.sh/hook-weight": "-3"
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
spec:
template: