k8wiz
Helm
Medium
Templates

Which template function returns the YAML representation of an object?

Select your answer:

Show answer and explanation

Answer: toYaml

Explanation

toYaml converts an object to YAML in templates; note the case-sensitive function name used by Helm's template engine.