Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in a hook for supplying variables for template render #833

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

linsword13
Copy link
Collaborator

This is used as the basis to allow workflow manager to provide a set of variables for all its register_template directives.

This is used as the basis to allow workflow manager to provide a set of
variables for all its `register_template` directives.
@douglasjacobsen
Copy link
Collaborator

How should we think about this if we want different templates to have different variables that they render with?

@linsword13
Copy link
Collaborator Author

How should we think about this if we want different templates to have different variables that they render with?

Yeah for that we still have the extra_vars and extra_vars_func arguments via the register_template. And those have higher precedence over this template_render_vars.

@douglasjacobsen
Copy link
Collaborator

OK, thanks!

@douglasjacobsen douglasjacobsen merged commit 73cbec1 into GoogleCloudPlatform:develop Jan 17, 2025
12 checks passed
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.

2 participants