From dddd92dd90c9121c4c09402f9b043030e08dca2a Mon Sep 17 00:00:00 2001 From: Joe Lanford Date: Mon, 4 Feb 2019 14:50:11 -0500 Subject: [PATCH] pkg/scaffold/helm/chart.go: comment to explain decision not to use hyphens in scaffolded chart name --- pkg/scaffold/helm/chart.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/scaffold/helm/chart.go b/pkg/scaffold/helm/chart.go index c6a268df4e1..2f195095739 100644 --- a/pkg/scaffold/helm/chart.go +++ b/pkg/scaffold/helm/chart.go @@ -130,6 +130,9 @@ func scaffoldChart(destDir, apiVersion, kind string) (*scaffold.Resource, *chart } chartfile := &chart.Metadata{ + // Many helm charts use hyphenated names, but we chose not to because + // of the issues related to how hyphens are interpreted in templates. + // See https://github.com/helm/helm/issues/2192 Name: r.LowerKind, Description: "A Helm chart for Kubernetes", Version: "0.1.0",