-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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 upgrade --reuse-values on clean chart doesn't apply #6899
Comments
Able to reproduce. Will check why this occurs |
This is what I tried to debug:
The error occurs at this line Line 361 in 7f7e90b
where And then here helm/pkg/chartutil/coalesce.go Lines 179 to 185 in a758490
Line 361 in 7f7e90b
which gets returned here Line 365 in 7f7e90b
and then it comes here Line 128 in 7f7e90b
and then it gets stored in the release object here, which then gets stored in the store (secrets/config maps) Lines 169 to 180 in 7f7e90b
Looks like the helm/pkg/chartutil/coalesce.go Lines 179 to 185 in a758490
Not sure what's the idea behind the |
Output of
helm version
: version.BuildInfo{Version:"v3.0.0-rc.3",GitCommit:"2ed206799b451830c68bff30af2a52879b8b937a", GitTreeState:"clean", GoVersion:"go1.13.4"}
Output of
kubectl version
:Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.1", GitCommit:"4485c6f18cee9a5d3c3b4e523bd27972b1b53892", GitTreeState:"clean", BuildDate:"2019-07-18T09:18:22Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:50Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
DigitalOcean
Premise
When creating a new chart, and then attempting to apply values using either
--set
or via a file (-f values.yaml
), the new values will not apply if there have been no user supplied values.Detailed logs
These have been reproducable for the at least rc-2 and rc-3. Multiple times, and in both the default and other namespaces. For example, I am using the
stable/redis
chart; although, any chart appears to have this issue, including file-based charts.Notice how there is nothing coming back, when we expected
Instead, it appears that we must first omit
--reuse-values
the first time we modify the chart.The text was updated successfully, but these errors were encountered: