Skip to content

Commit

Permalink
Added docs for toYamlPretty
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Dec 18, 2023
1 parent 25960c7 commit fcadbfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/en/docs/chart_template_guide/function_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ The following type conversion functions are provided by Helm:
- `fromJson`: Convert a JSON string to an object.
- `fromJsonArray`: Convert a JSON array to a list.
- `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
- `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.
- `fromYamlArray`: Convert a YAML array to a list.

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

0 comments on commit fcadbfa

Please sign in to comment.