From 3a88624e7498c61e8d6908e9e0ccfd768633c908 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 11 May 2024 17:26:03 +0200 Subject: [PATCH] fix: try moving db init to post-install to make sure configmap is created first --- charts/immich/Chart.yaml | 2 +- charts/immich/templates/db-init.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/immich/Chart.yaml b/charts/immich/Chart.yaml index 39dc1b2..8f0ef6d 100644 --- a/charts/immich/Chart.yaml +++ b/charts/immich/Chart.yaml @@ -5,7 +5,7 @@ description: | appVersion: 1.103.1 type: application icon: https://avatars.githubusercontent.com/u/109746326?s=200&v=4 -version: 0.1.8 +version: 0.1.9 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/immich/templates/db-init.yaml b/charts/immich/templates/db-init.yaml index f4ff55f..f400856 100644 --- a/charts/immich/templates/db-init.yaml +++ b/charts/immich/templates/db-init.yaml @@ -7,7 +7,7 @@ metadata: {{- include "immich.labels" . | nindent 4 }} annotations: "helm.sh/hook-weight": 10 - "helm.sh/hook": pre-install + "helm.sh/hook": post-install "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: template: