fix: add hook weights to attempt making sure configmap is prioritized
This commit is contained in:
parent
5c147dfd5f
commit
8fc6b32741
3 changed files with 3 additions and 1 deletions
|
@ -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.7
|
version: 0.1.8
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Tommy Skaug
|
- name: Tommy Skaug
|
||||||
email: tommy@skaug.me
|
email: tommy@skaug.me
|
||||||
|
|
|
@ -4,6 +4,7 @@ kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "immich.fullname" . }}-pgvector-initdb
|
name: {{ include "immich.fullname" . }}-pgvector-initdb
|
||||||
annotations:
|
annotations:
|
||||||
|
"helm.sh/hook-weight": 1
|
||||||
"helm.sh/hook": pre-install
|
"helm.sh/hook": pre-install
|
||||||
labels:
|
labels:
|
||||||
{{- include "immich.labels" . | nindent 4 }}
|
{{- include "immich.labels" . | nindent 4 }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "immich.labels" . | nindent 4 }}
|
{{- include "immich.labels" . | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
|
"helm.sh/hook-weight": 10
|
||||||
"helm.sh/hook": pre-install
|
"helm.sh/hook": pre-install
|
||||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Reference in a new issue