This repository was archived by the owner on May 16, 2023. It is now read-only.
File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,13 @@ spec:
196
196
{{ toYaml (.Values.extraVolumeMounts | default .Values.daemonset.extraVolumeMounts ) | indent 8 }}
197
197
{{- end }}
198
198
{{- if .Values.extraContainers }}
199
+ # Currently some extra blocks accept strings
200
+ # to continue with backwards compatibility this is being kept
201
+ # whilst also allowing for yaml to be specified too.
202
+ {{- if eq "string" (printf "%T" .Values.extraContainers) }}
199
203
{{ tpl .Values.extraContainers . | indent 6 }}
204
+ {{- else }}
205
+ {{ toYaml .Values.extraContainers | indent 6 }}
206
+ {{- end }}
200
207
{{- end }}
201
208
{{- end }}
Original file line number Diff line number Diff line change @@ -152,6 +152,13 @@ spec:
152
152
{{ toYaml ( .Values.extraVolumeMounts | default .Values.deployment.extraVolumeMounts ) | indent 8 }}
153
153
{{- end }}
154
154
{{- if .Values.extraContainers }}
155
+ # Currently some extra blocks accept strings
156
+ # to continue with backwards compatibility this is being kept
157
+ # whilst also allowing for yaml to be specified too.
158
+ {{- if eq "string" (printf "%T" .Values.extraContainers) }}
155
159
{{ tpl .Values.extraContainers . | indent 6 }}
160
+ {{- else }}
161
+ {{ toYaml .Values.extraContainers | indent 6 }}
162
+ {{- end }}
156
163
{{- end }}
157
164
{{- end }}
You can’t perform that action at this time.
0 commit comments