fix: try moving db init to post-install to make sure configmap is created first

This commit is contained in:
Tommy 2024-05-11 17:26:03 +02:00
parent 8fc6b32741
commit 3a88624e74
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ description: |
appVersion: 1.103.1 appVersion: 1.103.1
type: application type: application
icon: https://avatars.githubusercontent.com/u/109746326?s=200&v=4 icon: https://avatars.githubusercontent.com/u/109746326?s=200&v=4
version: 0.1.8 version: 0.1.9
maintainers: maintainers:
- name: Tommy Skaug - name: Tommy Skaug
email: tommy@skaug.me email: tommy@skaug.me

View file

@ -7,7 +7,7 @@ metadata:
{{- include "immich.labels" . | nindent 4 }} {{- include "immich.labels" . | nindent 4 }}
annotations: annotations:
"helm.sh/hook-weight": 10 "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 "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
spec: spec:
template: template: