diff --git a/clustertool/pkg/fluxhandler/helm.go b/clustertool/pkg/fluxhandler/helm.go index f54cb41dc1e..17cecb846e5 100644 --- a/clustertool/pkg/fluxhandler/helm.go +++ b/clustertool/pkg/fluxhandler/helm.go @@ -99,7 +99,12 @@ func HelmPull(repo string, name string, version string, dest string, silent bool updateHelmRepo(repoName, repo, silent) repo = repoName } else { - link = repo + "/" + name + link := repo + if !strings.HasSuffix(repo, "/") { + link += "/" + } + link += name + client.RepoURL = "" client.RepoURL = "" }