-
Notifications
You must be signed in to change notification settings - Fork 173
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
Output values.yaml for HelmRelease Resources #497
Comments
I am still having trouble debugging failed |
You can tell Flux to leave the Helm release in place when it fails with |
Thanks for getting back to me! I've just tried to use To be more specific, I am getting this error:
I have used |
Currently there is no way to get the values.yaml from the controller, given the values can contain secrets I don't see how we could expose it in a safe way. cc @hiddeco |
I do see that, for successful chart installations we've made with Another thought that comes to mind is a suggestion implied here: #453 (comment). Would there possibly be a way to run |
If you use |
I do see that the CLI is capable of creating To bring the discussion back up a level, I don't really have a proposal for how to accomplish what I've described, but there are two things that would be really helpful to me if either is possible:
I would be interested in making a contribution but would need some guidance on whether either of these are possible (or should be possible in case these present significant security concerns) and how they might best be achieved. Thanks for your time! |
Any thoughts on this thread? Thanks! |
The previous Helm Operator had a similar feature request with many upvotes: fluxcd/helm-operator#15 If RBAC is the issue, are any of these options feasible?
|
Thanks @nightswimmings, could you possibly expand on your thoughts just a little bit? I am not sure how your advice would enable debugging |
Right, I was in the same trouble and I got 2 tickets mixed, this is the wrong one |
This would be useful to debug this issue im facing: |
@stefanprodan @drewmarshburn Also wanted to understand that running helm cli command(template) will result in the exact same output as helm-controller? Does helm-controller use the same APIs? or is there a difference between helm-controller and helm cli tool? |
@amit-disc Flux uses the same Helm SDK as the Helm CLI, there no differences in terms of resulting manifests. |
The merging of valuesFrom is missing though. The final values can be only debugged using the controller. Making diffs pretty tricky if using multiple config files. |
The merge that Flux performs is identical to what the CLI does when you pass multiple values files. |
I have a question related to #453: is there an easy way to see the final
values.yaml
used by aHelmRelease
resource?Our
HelmRelease
resources are pretty complicated; we rely heavily on the ordered values merging ofspec.valuesFrom
from severalSecret
andConfigMap
resources in addition tospec.values
. When the Helm installations succeed, I can use something likehelm get values CHART -n NAMESPACE
to see what is effectively thevalues.yaml
file. However, when the Helm installations fail, I am stuck trying to piece together a pretty complicated hierarchy ofvaluesFrom
andvalues
references to debug my Helm installations. Is there an easy way to see this that I have somehow missed? Thank you!The text was updated successfully, but these errors were encountered: