📄 Templating
Helmwave uses Go templates for templating.
Helmwave supports all built-in functions, Sprig library, and several advanced functions:
toYaml
marshals a map into a stringfromYaml
reads a golang string and generates a mapreadFile
get file as stringhasKey
get true if field is existsget
(Sprig's originalget
is available assprigGet
)setValueAtPath
PATH NEW_VALUE traverses a golang map, replaces the value at the PATH with NEW_VALUErequiredEnv
The requiredEnv function allows you to declare a particular environment variable as required for template rendering. If the environment variable is unset or empty, the template rendering will fail with an error message.