mirror of https://github.com/helm/helm
When --reuse-values is set together with --set key=null, the null correctly drops the key from the persisted config, but chart.Values is set to the fully resolved old release values, so the final render-time coalesce falls back to that stale override and silently brings the key back for that one upgrade. A second, identical upgrade then works, because by then the release's stored config has already lost the key. Prune any key that newVals explicitly nulls from the old values before they're assigned to chart.Values, so an explicit null takes effect on the first upgrade. Signed-off-by: BeganovR <446110@niuitmo.ru>pull/32576/head
parent
67d54fd880
commit
39995d388e
Loading…
Reference in new issue