File tree 1 file changed +7
-7
lines changed
charts/karpenter/templates
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -183,16 +183,16 @@ spec:
183
183
{{- toYaml . | nindent 12 }}
184
184
{{- end }}
185
185
{{- end }}
186
- {{- with .Values.controller.sidecarContainer }}
187
- {{- toYaml . | nindent 8 }}
188
- {{- end }}
189
- {{- if and (.Values.controller.sidecarContainer) (or .Values.controller.extraVolumeMounts .Values.controller.sidecarVolumeMounts) }}
186
+ {{- range .Values.controller.sidecarContainer }}
187
+ - {{- toYaml . | nindent 10 }}
188
+ {{- if or $.Values.controller.extraVolumeMounts $.Values.controller.sidecarVolumeMounts }}
190
189
volumeMounts :
191
- {{- with .Values.controller.extraVolumeMounts }}
190
+ {{- with $ .Values.controller.extraVolumeMounts }}
192
191
{{- toYaml . | nindent 12 }}
193
- {{- end }}
194
- {{- with .Values.controller.sidecarVolumeMounts }}
192
+ {{- end }}
193
+ {{- with $ .Values.controller.sidecarVolumeMounts }}
195
194
{{- toYaml . | nindent 12 }}
195
+ {{- end }}
196
196
{{- end }}
197
197
{{- end }}
198
198
{{- with .Values.nodeSelector }}
You can’t perform that action at this time.
0 commit comments