From 5d017e11f1f47345a3559bf70f63d81a7edc981a Mon Sep 17 00:00:00 2001 From: Aram Zegerius Date: Tue, 7 Sep 2021 17:25:34 +0200 Subject: [PATCH] Fix value precedence Fix value precedence when importing values from child. Closes https://github.com/helm/helm/issues/9940 Signed-off-by: Aram Zegerius (cherry picked from commit c4952c9c8c5fce29635b9795b6070f616a31615c) --- pkg/chartutil/dependencies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/dependencies.go b/pkg/chartutil/dependencies.go index d2e7d6dc9..e01b95bf7 100644 --- a/pkg/chartutil/dependencies.go +++ b/pkg/chartutil/dependencies.go @@ -268,7 +268,7 @@ func processImportValues(c *chart.Chart) error { } // set the new values - c.Values = CoalesceTables(b, cvals) + c.Values = CoalesceTables(cvals, b) return nil }