Skip to content

Commit 02adbd1

Browse files
authored
Merge pull request #62 from brandond/fix_chartcontent
Use correct field as source for ChartContent ConfigMap
2 parents 56fdf6d + bce6d7b commit 02adbd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/helm/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func contentConfigMap(chart *helmv1.HelmChart) *core.ConfigMap {
437437

438438
if chart.Spec.ChartContent != "" {
439439
key := fmt.Sprintf("%s.tgz.base64", chart.Name)
440-
configMap.Data[key] = chart.Spec.ValuesContent
440+
configMap.Data[key] = chart.Spec.ChartContent
441441
}
442442

443443
return configMap

0 commit comments

Comments
 (0)