Skip to content

Commit b8c17f6

Browse files
authored
add preinstall and preupgrade to env-configmap + define hook weights (#9250)
1 parent 8d34062 commit b8c17f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/airbyte/templates/bootloader/pod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
{{- include "airbyte.labels" . | nindent 4 }}
88
annotations:
99
helm.sh/hook: pre-install,pre-upgrade
10+
helm.sh/hook-weight: "0"
1011
spec:
1112
restartPolicy: Never
1213
containers:

charts/airbyte/templates/env-configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ apiVersion: v1
22
kind: ConfigMap
33
metadata:
44
name: airbyte-env
5+
annotations:
6+
helm.sh/hook: pre-install,pre-upgrade
7+
helm.sh/hook-weight: "-1"
58
data:
69
AIRBYTE_VERSION: {{ .Values.version | default .Chart.AppVersion }}
710
API_URL: {{ .Values.webapp.api.url }}

0 commit comments

Comments
 (0)