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:
parent
9313fadc1c
commit
d35502a77c
|
@ -15,7 +15,7 @@ type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|
|
@ -7,6 +7,7 @@ metadata:
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": pre-install
|
"helm.sh/hook": pre-install
|
||||||
"helm.sh/hook-weight": "-3"
|
"helm.sh/hook-weight": "-3"
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
data:
|
data:
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
DB_HOST: {{ template "mastodon.postgresql.fullname" . }}
|
DB_HOST: {{ template "mastodon.postgresql.fullname" . }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
{{- include "mastodon.labels" . | nindent 4 }}
|
{{- include "mastodon.labels" . | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": post-install,pre-upgrade
|
"helm.sh/hook": post-install,pre-upgrade
|
||||||
|
"helm.sh/hook-weight": "-3"
|
||||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user