mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 06:40:31 +02:00
fix: ensure development versions of charts can be used across helmfile commands (#1865)
Signed-off-by: purpleclay <purpleclaygh@gmail.com>
This commit is contained in:
@@ -519,8 +519,8 @@ func (helm *execer) ChartPull(chart string, path string, flags ...string) error
|
||||
if helmVersionConstraint.Check(helm.version) {
|
||||
// in the 3.7.0 version, the chart pull has been replaced with helm pull
|
||||
// https://github.com/helm/helm/releases/tag/v3.7.0
|
||||
ociChartURL, ociChartTag := resolveOciChart(chart)
|
||||
helmArgs = []string{"pull", ociChartURL, "--version", ociChartTag, "--destination", path, "--untar"}
|
||||
ociChartURL, _ := resolveOciChart(chart)
|
||||
helmArgs = []string{"pull", ociChartURL, "--destination", path, "--untar"}
|
||||
helmArgs = append(helmArgs, flags...)
|
||||
} else {
|
||||
helmArgs = []string{"chart", "pull", chart}
|
||||
|
||||
Reference in New Issue
Block a user