fix(clustertool): revert dynamic trailing slash detection for now and fix jetstack
This commit is contained in:
@@ -8,4 +8,4 @@ metadata:
|
||||
spec:
|
||||
type: oci
|
||||
interval: 2h
|
||||
url: oci://quay.io/jetstack/charts/
|
||||
url: oci://quay.io/jetstack/charts
|
||||
|
||||
@@ -99,12 +99,7 @@ func HelmPull(repo string, name string, version string, dest string, silent bool
|
||||
updateHelmRepo(repoName, repo, silent)
|
||||
repo = repoName
|
||||
} else {
|
||||
link := repo
|
||||
if !strings.HasSuffix(repo, "/") {
|
||||
link += "/"
|
||||
}
|
||||
link += name
|
||||
client.RepoURL = ""
|
||||
link = repo + "/" + name
|
||||
client.RepoURL = ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user