-
Notifications
You must be signed in to change notification settings - Fork 563
Support secrets
in nested state
#1828
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
Comments
@yujunz Hey! I'm still unsure why on earth many poeple try to do that. Can we just use |
Why are you trying to leverage sub-helmfile in such way? Do you have a big reusable helmfile.yaml that can be reused by carefully passing selectors/values/secrets? I'm not really sure if that's what you really should. Cant you use reuse the structure by using |
For us, it is mostly for backward compatibility of existing values files. Secrets files are sops encrypted and cannot be used as values file IIUC. Not understanding The use case is to reuse some base helmfile for different environments. I have tried different ways to implement it but all looks tricky as the w.r.t. the examples given in https://github.com/roboll/helmfile#environment
I am looking for a kustomize-like overlays to organize values for releases in each environment. What would you recommend? @mumoshu |
@yujunz Hey! Thanks for confirming.
They are the syntax for remote secrets, which supports all the vals backends.
Nope. Environment values are used to render the whole hemlfile.yaml only. They don't propagate to releases at all.
That's what
Never use sub-helmfile for that purpose. Use environments to dynamically define release values. e.g.
|
I have tested the example and it works as expected. IIUC, it requires all environments get defined in base helmfile centrally. The challenge we are facing is to organize configurations by environments first then by tools. So it is kind of
vs
Either layout has its pros & cons. I am wondering if helmfile can be organized in the former layout. |
@yujunz I doubt if you need to use
|
Let me give it a try. I didn't realize the releases in helmfile can be merged and overridden in this way. |
I have the same problem. If i can merge values in sub helmfile why cant i also merge secrets? |
We have a use case to override some secrets with nested state file like below
But it seems not supported by helmfile
The text was updated successfully, but these errors were encountered: