mirror of
https://github.com/helm/helm.git
synced 2026-02-21 08:53:36 -05:00
this was partially fixed in #6430 but the fix only worked for values without nesting. this PR fixes it. this is done by doing a deep copy of values rather than a top level keys copy. deep copy ensures values are not mutated during coalesce() execution which leads to bugs like #6659 the deep copy code has been copied from: https://gist.github.com/soroushjp/0ec92102641ddfc3ad5515ca76405f4d which is in turn inspired by this stackoverflow answer: http://stackoverflow.com/a/28579297/1366283 Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com> |
||
|---|---|---|
| .. | ||
| deepcopy | ||
| k8s.io/kubernetes/deployment/util | ||