Skip to content

Commit

Permalink
process requirements.yaml for backwards compatibility with legacy charts
Browse files Browse the repository at this point in the history
  • Loading branch information
pepov committed Sep 11, 2020
1 parent a795785 commit 576611e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ func getFiles(fs http.FileSystem) ([]*loader.BufferedFile, error) {
{
Name: chartutil.ChartfileName,
},
{
// Without requirements.yaml legacy charts's subdependencies will be processed but cannot be disabled
// See https://github.com/helm/helm/blob/e2442699fa4703456b16884990c5218c16ed16fc/pkg/chart/loader/load.go#L105
Name: "requirements.yaml",
},
}

// if the Helm chart templates use some resource files (like dashboards), those should be put under resources
Expand Down

0 comments on commit 576611e

Please sign in to comment.