0PricingLogin
Helm Academy · Lesson

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

  1. Piping Values Through Functions
  2. default, required, and quote
  3. String Helpers from the Sprig Library
  4. Encoding with b64enc, toYaml, and indent
← Back to Helm Academy