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

Suggestion: renaming "helmDefaults" to "defaults" #521

Open
mumoshu opened this issue Mar 31, 2019 · 3 comments
Open

Suggestion: renaming "helmDefaults" to "defaults" #521

mumoshu opened this issue Mar 31, 2019 · 3 comments

Comments

@mumoshu
Copy link
Collaborator

mumoshu commented Mar 31, 2019

The more we add options to helmDefaults the more the name sounds odd to me.

To me, it's basically releaseDefaults, because helmfile uses everything defined under helmDefaults as the default values for per-release settings. But releaseDefaults sounds a bit verbose, and I don't have specific reason not to make it as simple as defaults.

Thoughts?

@mumoshu
Copy link
Collaborator Author

mumoshu commented Mar 31, 2019

releaseDefaults may actually be more intuitive as it makes clear that you can't set defaults for other top-level helmfile settings like environments and repositories.

@sgandon
Copy link
Contributor

sgandon commented Mar 31, 2019

I liked the idea of helmDefaultas being the helm commandline arguments to be used.
I am fine with releaseDefaults but does that mean the we will be able to set commong "values" for releases in this items ?
If yes, how will it play with the environments values ?

@mumoshu
Copy link
Collaborator Author

mumoshu commented Mar 31, 2019

Thanks for your response!

I am fine with releaseDefaults but does that mean the we will be able to set commong "values" for releases in this items ?

Possibly yes.

how will it play with the environments values ?

As the same as how it works today. For example, {{ .Environment.Name }} within a values entry of releaseDefaults will be replaced with the environment name on helmfile.yaml load.

{{` {{.Release.Name}} `}}

for example will be replaced with the name of the each release being processed.

@mumoshu mumoshu mentioned this issue Jul 29, 2019
4 tasks
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