diff --git a/charts/mastodon/Chart.yaml b/charts/mastodon/Chart.yaml index cdc0a9e..1636c8f 100644 --- a/charts/mastodon/Chart.yaml +++ b/charts/mastodon/Chart.yaml @@ -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 diff --git a/charts/mastodon/templates/configmap-env.yaml b/charts/mastodon/templates/configmap-env.yaml index ac61da7..11eb9c7 100644 --- a/charts/mastodon/templates/configmap-env.yaml +++ b/charts/mastodon/templates/configmap-env.yaml @@ -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" . }} diff --git a/charts/mastodon/templates/job-db-migrate.yaml b/charts/mastodon/templates/job-db-migrate.yaml index 8ea3a7e..f666966 100644 --- a/charts/mastodon/templates/job-db-migrate.yaml +++ b/charts/mastodon/templates/job-db-migrate.yaml @@ -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: