Skip to content

Append sprig template functions with sprig prefix#865

Open
hightoxicity wants to merge 2 commits intokelseyhightower:masterfrom
hightoxicity:feat-add-to-templates-sprig-functions
Open

Append sprig template functions with sprig prefix#865
hightoxicity wants to merge 2 commits intokelseyhightower:masterfrom
hightoxicity:feat-add-to-templates-sprig-functions

Conversation

@hightoxicity
Copy link

Hi,

Needing advanced functions to test the fact a string is numeric (key having a path starting by /0/), I miss sprig functions in confd, the one available with helm templating.
This PR bring us sprig templating functions in confd, to avoid any collision between available in confd functions and the one brought by sprig, all the funcs are imported prefixed by sprig...

Example:
sprigRegexMatch matches regexMatch in sprig

Thx for the consideration you will have for this PR.

@hightoxicity
Copy link
Author

#770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant