fix: add hook weights to attempt making sure configmap is prioritized

This commit is contained in:
Tommy 2024-05-11 17:21:30 +02:00
parent 5c147dfd5f
commit 8fc6b32741
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View file

@ -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.7
version: 0.1.8
maintainers:
- name: Tommy Skaug
email: tommy@skaug.me

View file

@ -4,6 +4,7 @@ kind: ConfigMap
metadata:
name: {{ include "immich.fullname" . }}-pgvector-initdb
annotations:
"helm.sh/hook-weight": 1
"helm.sh/hook": pre-install
labels:
{{- include "immich.labels" . | nindent 4 }}

View file

@ -6,6 +6,7 @@ metadata:
labels:
{{- include "immich.labels" . | nindent 4 }}
annotations:
"helm.sh/hook-weight": 10
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
spec: