Skip to content

Commit 7be449c

Browse files
sgalsalehemosbaugh
authored andcommitted
Extract installable charts test improvements (#2722)
1 parent 8500433 commit 7be449c

File tree

2 files changed

+257
-146
lines changed

2 files changed

+257
-146
lines changed

api/internal/managers/app/release/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func generateHelmValues(templatedCR *kotsv1beta2.HelmChart) (map[string]any, err
224224
}
225225

226226
// Start with the base values
227-
mergedValues := templatedCR.Spec.Values
227+
mergedValues := maps.Clone(templatedCR.Spec.Values)
228228
if mergedValues == nil {
229229
mergedValues = map[string]kotsv1beta2.MappedChartValue{}
230230
}

0 commit comments

Comments
 (0)