helm/pkg/chartutil
Karuppiah Natarajan dfed8ab5e3
fix install storing computed values in release
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>
2019-10-17 16:37:19 +05:30
..
testdata feat(template): Ports api-versions flag to v3 2019-10-07 13:30:06 -06:00
capabilities.go feat(template): Ports api-versions flag to v3 2019-10-07 13:30:06 -06:00
capabilities_test.go feat(template): Ports api-versions flag to v3 2019-10-07 13:30:06 -06:00
chartfile.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
chartfile_test.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
coalesce.go fix install storing computed values in release 2019-10-17 16:37:19 +05:30
coalesce_test.go fix install storing computed values in release instead of user supplied values 2019-09-14 20:34:48 +05:30
compatible.go Update dependencies 2019-10-03 13:49:07 -04:00
compatible_test.go ref(*): Moves packages to internal 2019-08-09 16:02:33 -06:00
create.go Merge pull request #6519 from SimonAlling/dev-v3 2019-10-11 09:02:01 -07:00
create_test.go fix(chartutil): port over enhancements to helm create from Helm 2 2019-10-03 12:34:58 -07:00
dependencies.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
dependencies_test.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
doc.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
errors.go Fix chartutils/errors.go stack overflow 2019-10-15 15:03:36 -07:00
errors_test.go Fix chartutils/errors.go stack overflow 2019-10-15 15:03:36 -07:00
expand.go Remove impossible condition reported by linter 2019-10-09 23:18:03 -04:00
expand_test.go feat(lint): Ports v2 functionality for linting pre-release charts 2019-10-10 16:58:47 -06:00
jsonschema.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
jsonschema_test.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
save.go fix(pkg/chartutil): add tests according to feedback 2019-10-11 10:49:43 +02:00
save_test.go fix(pkg/chartutil): add tests according to feedback 2019-10-11 10:49:43 +02:00
values.go Fix chartutils/errors.go stack overflow 2019-10-15 15:03:36 -07:00
values_test.go Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00