Interview Prep/Helm/Templating: Go Templates & Sprig

Which Sprig string functions do you use most in charts?

BeginnerConceptTemplating: Go Templates & Sprig
Answer

trunc, trimSuffix, trimPrefix, trim, lower, upper, replace, contains, hasPrefix, hasSuffix, printf, quote, nospace, regexReplaceAll, splitList, join, b64enc, b64dec, sha256sum, randAlphaNum.

name: {{ printf "%s-%s" (include "shop.fullname" .) "api" | trunc 63 | trimSuffix "-" }}
host: {{ .Values.ingress.host | lower | quote }}
All Helm questions Roadmap: Helm

More on Templating: Go Templates & Sprig