-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Helm v3.13.0 and above breaks umbrella charts exposing empty values #12599
Comments
Could this be the commit that broke it? Although this is not included in |
I can confirm that issue is still present in The presedence issue has been fixed probably, but nil/empty values are now taking presedence, where as the behaviour for those should be that nil values should be treated as nil, and not empty strings. |
https://github.com/helm/helm/blob/main/pkg/chartutil/dependencies.go#L37-L39 I guess this is a new behavioral change in helm. |
I can confirm this breaking change as well. I can easily reproduce by templating with 3.12.3 and then templating again with 3.13.2. |
Hello, Can someone confirm that the behavior is expected or not? Thanks a lot for the answer, |
My impression is that umbrella chart values takes precedence of child chart values. That implies the umbrella chart could potentially clear values in the child charts. |
If you look at the linked PRs that George mentioned , parent chart values are higher priority than subcharts. I think the previous expected behaviour that you were relying on (null value in parent chart would not override a subchart) was a bug and the change is mentioned in the release notes: https://github.com/helm/helm/releases/tag/v3.13.0 But if you want to rely on two bugs that cancel each other out just use --values (#12488) |
Being a bug or not, true adherence to the semver spec would require bumping major version before changing or fixing it. Or at least a breaking change notice should be added to the release notes, with more careful explanations as to how to handle them like migration examples. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
This is still valid. If there is no plan to fix it, at least an official statement would be nice. |
Title: Umbrella Chart Image Override Issue Since v3.13.0
Issue Description
Environment:
gen3
(Umbrella Chart)Description:
Since the release of Helm v3.13.0, we have been encountering a critical issue with our umbrella chart, named
gen3
, in thegen3-helm
repository. This chart is designed to expose values that allow overriding images for the child charts. However, these values are initially empty in thegen3
chart'svalues.yaml
file.Expected Behavior:
In previous versions of Helm, these empty values were handled without any issues, allowing the umbrella chart to function correctly.
Current Problem:
Starting with Helm v3.13.0, when attempting to install the
gen3
umbrella chart, the process fails with an "InvalidImageName" error. This suggests that the empty values from thegen3
values.yaml
are being incorrectly passed to the child charts. This behavior marks a significant and undocumented change from how Helm previously handled such scenarios.Steps to Reproduce:
gen3
umbrella chart.Impact:
This issue is causing significant disruption, as it prevents the proper deployment of our umbrella chart and its associated services.
Additional Context:
Using helm
v3.12.3
I see the old behavior which I think is correct. I would like to not re-make the charts for this, but if this is expected behavior then it should be documented.The text was updated successfully, but these errors were encountered: