I'm using helm template command to template a file but cannot escape a space character in yaml sequence. I have tried with "" and '' but the result remains the same.
template.yaml:
scriptsApproval:
{{ toYaml .Values.scriptApproval }}values.yaml:
scriptsApproval:
- string1 abc ijk lmn
- string2 abc ijk lmn
- string3 abc ijk lmnGetting Results after running helm template
result.yaml:
scriptsApproval:
- string1 abc ijk
lmn
- string2 abc ijk
lmn
- string3 abc ijk
lmn