diff --git a/charts/airbyte-bootloader/templates/pod.yaml b/charts/airbyte-bootloader/templates/pod.yaml index 70838a777421..b5634b7bb0e2 100644 --- a/charts/airbyte-bootloader/templates/pod.yaml +++ b/charts/airbyte-bootloader/templates/pod.yaml @@ -29,6 +29,10 @@ spec: {{- if .Values.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }} {{- end }} + {{- if .Values.extraInitContainers }} + initContainers: + {{- toYaml .Values.extraInitContainers | nindent 4 }} + {{- end }} containers: - name: airbyte-bootloader-container image: {{ printf "%s:%s" .Values.image.repository (include "bootloader.imageTag" .) }} diff --git a/charts/airbyte-server/templates/deployment.yaml b/charts/airbyte-server/templates/deployment.yaml index 13bb93ed26a6..7f32e0aa1306 100644 --- a/charts/airbyte-server/templates/deployment.yaml +++ b/charts/airbyte-server/templates/deployment.yaml @@ -37,6 +37,10 @@ spec: {{- if .Values.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }} {{- end }} + {{- if .Values.extraInitContainers }} + initContainers: + {{- toYaml .Values.extraInitContainers | nindent 6 }} + {{- end }} containers: - name: airbyte-server-container image: {{ printf "%s:%s" .Values.image.repository (include "server.imageTag" .) }} @@ -263,4 +267,4 @@ spec: {{- end }} {{- if .Values.extraVolumes }} {{ toYaml .Values.extraVolumes | nindent 6 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/charts/airbyte-webapp/templates/deployment.yaml b/charts/airbyte-webapp/templates/deployment.yaml index 274202fb417f..f1ad5c65900f 100644 --- a/charts/airbyte-webapp/templates/deployment.yaml +++ b/charts/airbyte-webapp/templates/deployment.yaml @@ -34,6 +34,10 @@ spec: {{- printf "- name: %s" .name | nindent 8 }} {{- end }} {{- end }} + {{- if .Values.extraInitContainers }} + initContainers: + {{- toYaml .Values.extraInitContainers | nindent 6 }} + {{- end }} containers: - name: airbyte-webapp-container image: {{ printf "%s:%s" .Values.image.repository (include "webapp.imageTag" .) }} diff --git a/charts/airbyte-worker/templates/deployment.yaml b/charts/airbyte-worker/templates/deployment.yaml index 9e40d680bdcb..981a466a943f 100644 --- a/charts/airbyte-worker/templates/deployment.yaml +++ b/charts/airbyte-worker/templates/deployment.yaml @@ -36,6 +36,10 @@ spec: {{- if .Values.affinity }} affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }} {{- end }} + {{- if .Values.extraInitContainers }} + initContainers: + {{- toYaml .Values.extraInitContainers | nindent 6 }} + {{- end }} containers: - name: airbyte-worker-container image: {{ printf "%s:%s" .Values.image.repository (include "worker.imageTag" .) }} @@ -420,4 +424,4 @@ spec: {{- end }} {{- if .Values.global.extraVolumes }} {{- toYaml .Values.global.extraVolumes | nindent 6 }} - {{- end }} \ No newline at end of file + {{- end }}