String Helpers from the Sprig Library
upper, trunc, replace, and friends.
Helm Bundles Sprig
Beyond Go's built-ins, Helm ships the Sprig library, giving your templates dozens of ready-made string helpers. 📚
Changing Case
Use upper and lower to normalize case. They are perfect for forcing labels or names into a consistent form.
{{ .Values.name | upper }}All lessons in this course
- Piping Values Through Functions
- default, required, and quote
- String Helpers from the Sprig Library
- Encoding with b64enc, toYaml, and indent