From 079c9625f865169c90c2355cdcfda4f1282df4e2 Mon Sep 17 00:00:00 2001 From: Willie Sana Date: Wed, 11 Nov 2020 15:56:00 -0800 Subject: [PATCH] remove Chart.yml from valid helm chart names - Chart.yml is used by rancher, but we would likely support rancher in a separate iac type, so removing from helm --- pkg/iac-providers/helm/v3/load-dir.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/iac-providers/helm/v3/load-dir.go b/pkg/iac-providers/helm/v3/load-dir.go index 3b8112b98..8feac6f84 100644 --- a/pkg/iac-providers/helm/v3/load-dir.go +++ b/pkg/iac-providers/helm/v3/load-dir.go @@ -290,8 +290,7 @@ func (h *HelmV3) getHelmTemplateExtensions() []string { return []string{"yaml", "yml", "tpl"} } -// getHelmFilenames returns valid chart filenames +// getHelmChartFilenames returns valid chart filenames func (h *HelmV3) getHelmChartFilenames() []string { - // the main filename is chart.yaml, but rancher contains references to chart.yml - return []string{"Chart.yaml", "Chart.yml"} + return []string{"Chart.yaml"} }