-
Notifications
You must be signed in to change notification settings - Fork 525
Closed
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlogunscopedThe issue needs more design or understanding in order for the work to progressThe issue needs more design or understanding in order for the work to progress
Description
The embeded go template engine does not have many useful functions built in.
Other tools such as helm and step-ca embed a library named sprig (https://masterminds.github.io/sprig/)
In particular, some of the string functions are extremely useful. (contains, hasPrefix, trimPrefix, cat, replace, ...)
It would be very easy to embed the library and make it available for use in templates.
Alternately, it would be possible to embed the library and cherry pick only the functions we want to make available to our templates if there is concern there is too many functions there.
Metadata
Metadata
Assignees
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlogunscopedThe issue needs more design or understanding in order for the work to progressThe issue needs more design or understanding in order for the work to progress