Skip to content

Commit e9283df

Browse files
committed
Added docs for toYamlPretty
Signed-off-by: Fred Heinecke <[email protected]>
1 parent 25960c7 commit e9283df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/en/docs/chart_template_guide/function_list.md

+1
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ The following type conversion functions are provided by Helm:
701701
- `fromJson`: Convert a JSON string to an object.
702702
- `fromJsonArray`: Convert a JSON array to a list.
703703
- `toYaml`: Convert list, slice, array, dict, or object to indented yaml, can be used to copy chunks of yaml from any source. This function is equivalent to GoLang yaml.Marshal function, see docs here: https://pkg.go.dev/gopkg.in/yaml.v2#Marshal
704+
- `toYamlPretty`: Convert list, slice, array, dict, or object to indented yaml, can be used to copy chunks of yaml from any source. This function is equivalent to `toYaml`, except list items will be indented two spaces past the parent key.
704705
- `fromYamlArray`: Convert a YAML array to a list.
705706

706707
Only `atoi` requires that the input be a specific type. The others will attempt

0 commit comments

Comments
 (0)