Skip to content

Commit

Permalink
remove Chart.yml from valid helm chart names
Browse files Browse the repository at this point in the history
- Chart.yml is used by rancher, but we would likely support rancher in a separate iac type, so removing from helm
  • Loading branch information
Willie Sana committed Nov 11, 2020
1 parent 163e22f commit 079c962
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/iac-providers/helm/v3/load-dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
}

0 comments on commit 079c962

Please # to comment.