From 6457beac254469452d8d1ea905475eb325c05b97 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sun, 2 Feb 2025 19:31:31 +0100 Subject: [PATCH] fix(pretix): helm-hook delete-before-create for migration job --- pretix/Chart.yaml | 2 +- pretix/README.md | 4 ++-- pretix/templates/job-migrate.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pretix/Chart.yaml b/pretix/Chart.yaml index 90fe984..5f8e2b7 100644 --- a/pretix/Chart.yaml +++ b/pretix/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pretix description: Reinventing ticket presales, one ticket at a time. type: application -version: 0.1.5 +version: 0.1.6 # renovate: image=docker.io/pretix/standalone appVersion: "2025.1.0" keywords: diff --git a/pretix/README.md b/pretix/README.md index 3e192a9..580557a 100644 --- a/pretix/README.md +++ b/pretix/README.md @@ -7,7 +7,7 @@ description: "Reinventing ticket presales, one ticket at a time." # pretix -![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) +![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) Reinventing ticket presales, one ticket at a time. @@ -160,7 +160,7 @@ helm uninstall pretix-release Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) # pretix -![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) +![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2025.1.0](https://img.shields.io/badge/AppVersion-2025.1.0-informational?style=flat-square) Reinventing ticket presales, one ticket at a time. diff --git a/pretix/templates/job-migrate.yaml b/pretix/templates/job-migrate.yaml index aabb446..63229b5 100644 --- a/pretix/templates/job-migrate.yaml +++ b/pretix/templates/job-migrate.yaml @@ -5,9 +5,9 @@ metadata: labels: {{- include "pretix.labels" . | nindent 4 }} annotations: - helm.sh/hook: post-install,post-upgrade - helm.sh/hook-weight: "5" - helm.sh/hook-delete-policy: hook-succeeded + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-weight": "5" + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: template: metadata: