From e9283df45905323aa52bdd5ab37cd9edd5608249 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Tue, 9 Jan 2024 03:51:32 -0600 Subject: [PATCH] Added docs for `toYamlPretty` Signed-off-by: Fred Heinecke --- content/en/docs/chart_template_guide/function_list.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/chart_template_guide/function_list.md b/content/en/docs/chart_template_guide/function_list.md index 31050fef2..4a05ee516 100644 --- a/content/en/docs/chart_template_guide/function_list.md +++ b/content/en/docs/chart_template_guide/function_list.md @@ -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