Skip to content

Conversation

@tpickett
Copy link

@tpickett tpickett commented Nov 5, 2024

Description of your changes

This PR adds the helm tpl function for rendering templates within the templates. See: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function

Fixes #140

I have:

Signed-off-by: tpickett <[email protected]>
}

func initInclude(t *template.Template) func(string, interface{}) (string, error) {
func initTpl(parent *template.Template, includedNames map[string]int) func(string, interface{}) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phisco are you suggesting changes to the function?

@tpickett tpickett requested a review from phisco December 5, 2024 16:02
@peimanja
Copy link

peimanja commented Feb 1, 2025

any update on this PR? this functionality can be handy

@nodnarbnitram
Copy link

Bueller?

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.

Add tpl function to template rendering

4 participants