diff --git a/pkg/chartutil/dependencies.go b/pkg/chartutil/dependencies.go index 0eb50e5ee..a58cddc1b 100644 --- a/pkg/chartutil/dependencies.go +++ b/pkg/chartutil/dependencies.go @@ -304,8 +304,8 @@ func processImportValues(c *chart.Chart, merge bool) error { // deep copying the cvals as there are cases where pointers can end // up in the cvals when they are copied onto b in ways that break things. // Merge dependencies in the chart values-file first - b = MergeTables(deepCopyMap(c.Values), b) - // next merge sub-chart values in the chart-values merged with the dependencies + b = MergeTables(deepCopyMap(c.Values), b) + // next merge sub-chart values in the chart-values merged with the dependencies c.Values = MergeTables(deepCopyMap(b), cvals) } else { // Trimming the nil values from cvals is needed for backwards compatibility.