Merge "Fix joinListWithComma rendering when invoked with CLI values"
This commit is contained in:
commit
268d8ef471
@ -13,5 +13,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
{{- define "helm-toolkit.utils.joinListWithComma" -}}
|
||||
{{ range $k, $v := . }}{{ if $k }},{{ end }}{{ $v }}{{ end }}
|
||||
{{- $local := dict "first" true -}}
|
||||
{{- range $k, $v := . -}}{{- if not $local.first -}},{{- end -}}{{- $v -}}{{- $_ := set $local "first" false -}}{{- end -}}
|
||||
{{- end -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user