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

Dynamic resource names based on release name #93

Open
fullmetal-fred opened this issue Feb 11, 2025 · 2 comments
Open

Dynamic resource names based on release name #93

fullmetal-fred opened this issue Feb 11, 2025 · 2 comments

Comments

@fullmetal-fred
Copy link

Hey all!

Today when I was working on a Windmill migration, I found myself wanting to create 2 instances of Windmill alongside each other in the same namespace. Unfortunately I soon discovered that all of the resource names are static and not based on the helm release name, making 2 deployments in 1 namespace impossible. I could do this in two separate namespaces, but that would also require me to replicate secrets and other resources across those namespaces. It would be a lot simpler if the Windmill helm chart dynamically generated the resource names based on the helm release name, like name: {{ .Release.Name }}-app or name: {{ .Release.Name }}-windmill-app.

Make sense?

@rubenfiszel
Copy link
Contributor

Good idea, we will just want to make sure it doesn't change the current names to avoid breaking changes but yes

@fullmetal-fred
Copy link
Author

fullmetal-fred commented Feb 18, 2025

What if we used a value for resource base names for the name instead of using the release name? The default could be "windmill" which should meet the needs of existing deployments. But you could deploy a version and set it to "windmill-2" for example and get a whole deployment in parallel.

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

No branches or pull requests

2 participants