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

Use tpl function for defaultTags in Deployment #97

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

jantzenallphin
Copy link
Contributor

This PR modifies the defaultTags argument in the Deployment configuration. Previously, the defaultTags value was directly converted to JSON. This PR changes this behavior by first passing the defaultTags through the Helm tpl function before converting it to JSON.

The tpl function allows us to use templating in the defaultTagsvalues. This means we can now use values from other Helm variables within defaultTags. This provides more flexibility and dynamic configuration options for users.

This change is backward compatible. If no templating is used in defaultTags, the behavior remains the same as before.

@mtougeron mtougeron merged commit 25a23c0 into mtougeron:main Jun 5, 2024
6 checks passed
@jantzenallphin jantzenallphin deleted the template-default-tags branch June 5, 2024 22:02
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