Skip to content

Commit 3d00847

Browse files
committed
fix: place volumes: inside the if condition
1 parent aba0e0a commit 3d00847

File tree

12 files changed

+14
-10
lines changed

12 files changed

+14
-10
lines changed

charts/airbyte-connector-builder-server/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ spec:
198198
{{ toYaml .Values.global.extraContainers | nindent 6 }}
199199
{{- end }}
200200
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
201-
volumes:
202201
{{- if .Values.extraVolumes }}
202+
volumes:
203203
{{ toYaml .Values.extraVolumes | nindent 6 }}
204204
{{- end }}

charts/airbyte-connector-rollout-worker/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ spec:
233233
{{ toYaml .Values.global.extraContainers | nindent 6 }}
234234
{{- end }}
235235
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
236-
volumes:
237236
{{- if .Values.extraVolumes }}
237+
volumes:
238238
{{ toYaml .Values.extraVolumes | nindent 6 }}
239239
{{- end }}

charts/airbyte-keycloak/templates/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ spec:
178178
{{ toYaml .Values.global.extraContainers | nindent 8 }}
179179
{{- end }}
180180
securityContext: {{- toYaml .Values.podSecurityContext | nindent 10 }}
181-
volumes:
182181
{{- if .Values.extraVolumes }}
182+
volumes:
183183
{{ toYaml .Values.extraVolumes | nindent 8 }}
184184
{{- end }}
185185
volumeClaimTemplates:

charts/airbyte-metrics/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ spec:
167167
{{ toYaml .Values.global.extraContainers | nindent 6 }}
168168
{{- end }}
169169
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
170-
volumes:
171170
{{- if .Values.extraVolumes }}
171+
volumes:
172172
{{ toYaml .Values.extraVolumes | nindent 6 }}
173173
{{- end }}

charts/airbyte-temporal-ui/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spec:
118118
{{ toYaml .Values.global.extraContainers | nindent 6 }}
119119
{{- end }}
120120
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
121-
volumes:
122121
{{- if .Values.extraVolumes }}
122+
volumes:
123123
{{ toYaml .Values.extraVolumes | nindent 6 }}
124124
{{- end }}

charts/airbyte-webapp/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,12 @@ spec:
163163
{{ toYaml .Values.global.extraContainers | nindent 6 }}
164164
{{- end }}
165165
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
166+
{{- if or .Values.extraVolumes .Values.global.extraVolumes }}
166167
volumes:
167168
{{- if .Values.extraVolumes }}
168169
{{ toYaml .Values.extraVolumes | nindent 6 }}
169170
{{- end }}
170171
{{- if .Values.global.extraVolumes }}
171172
{{ toYaml .Values.global.extraVolumes | nindent 6 }}
173+
{{- end }}
172174
{{- end }}

charts/v2/airbyte/templates/airbyte-connector-builder-server/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ spec:
163163
{{ toYaml .Values.global.extraContainers | nindent 6 }}
164164
{{- end }}
165165
securityContext: {{- toYaml .Values.connectorBuilderServer.podSecurityContext | nindent 8 }}
166-
volumes:
167166
{{- if .Values.connectorBuilderServer.extraVolumes }}
167+
volumes:
168168
{{ toYaml .Values.connectorBuilderServer.extraVolumes | nindent 6 }}
169169
{{- end }}
170170
{{- end }}

charts/v2/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ spec:
165165
{{ toYaml .Values.global.extraContainers | nindent 8 }}
166166
{{- end }}
167167
securityContext: {{- toYaml .Values.connectorRolloutWorker.podSecurityContext | nindent 8 }}
168-
volumes:
169168
{{- if .Values.connectorRolloutWorker.extraVolumes }}
169+
volumes:
170170
{{ toYaml .Values.connectorRolloutWorker.extraVolumes | nindent 4 }}
171171
{{- end }}
172172
{{- end }}

charts/v2/airbyte/templates/airbyte-keycloak/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ spec:
165165
{{ toYaml .Values.global.extraContainers | nindent 8 }}
166166
{{- end }}
167167
securityContext: {{- toYaml .Values.keycloak.podSecurityContext | nindent 10 }}
168-
volumes:
169168
{{- if .Values.keycloak.extraVolumes }}
169+
volumes:
170170
{{ toYaml .Values.keycloak.extraVolumes | nindent 8 }}
171171
{{- end }}
172172
volumeClaimTemplates:

charts/v2/airbyte/templates/airbyte-metrics/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ spec:
101101
{{ toYaml .Values.global.extraContainers | nindent 6 }}
102102
{{- end }}
103103
securityContext: {{- toYaml .Values.metrics.podSecurityContext | nindent 8 }}
104-
volumes:
105104
{{- if .Values.metrics.extraVolumes }}
105+
volumes:
106106
{{ toYaml .Values.metrics.extraVolumes | nindent 6 }}
107107
{{- end }}
108108
{{- end }}

0 commit comments

Comments
 (0)