Skip to content

Commit

Permalink
add preinstall and preupgrade to env-configmap + define hook weights (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored Jan 4, 2022
1 parent 8d34062 commit b8c17f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/airbyte/templates/bootloader/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- include "airbyte.labels" . | nindent 4 }}
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook-weight: "0"
spec:
restartPolicy: Never
containers:
Expand Down
3 changes: 3 additions & 0 deletions charts/airbyte/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: airbyte-env
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook-weight: "-1"
data:
AIRBYTE_VERSION: {{ .Values.version | default .Chart.AppVersion }}
API_URL: {{ .Values.webapp.api.url }}
Expand Down

0 comments on commit b8c17f6

Please sign in to comment.