Skip to content

Commit

Permalink
Add missing extraInitContainers (#17781)
Browse files Browse the repository at this point in the history
  • Loading branch information
czuares authored Oct 13, 2022
1 parent 2a4a5d3 commit c49980a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/airbyte-bootloader/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down
6 changes: 5 additions & 1 deletion charts/airbyte-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down Expand Up @@ -263,4 +267,4 @@ spec:
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | nindent 6 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/airbyte-webapp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down
6 changes: 5 additions & 1 deletion charts/airbyte-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down Expand Up @@ -420,4 +424,4 @@ spec:
{{- end }}
{{- if .Values.global.extraVolumes }}
{{- toYaml .Values.global.extraVolumes | nindent 6 }}
{{- end }}
{{- end }}

0 comments on commit c49980a

Please sign in to comment.