Skip to content

Commit 35a8ce3

Browse files
committed
fix(clustertool): revert dynamic trailing slash detection for now and fix jetstack
1 parent eecb634 commit 35a8ce3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

clustertool/embed/generic/root/repositories/helm/jetstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ metadata:
88
spec:
99
type: oci
1010
interval: 2h
11-
url: oci://quay.io/jetstack/charts/
11+
url: oci://quay.io/jetstack/charts

clustertool/pkg/fluxhandler/helm.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,7 @@ func HelmPull(repo string, name string, version string, dest string, silent bool
9999
updateHelmRepo(repoName, repo, silent)
100100
repo = repoName
101101
} else {
102-
link := repo
103-
if !strings.HasSuffix(repo, "/") {
104-
link += "/"
105-
}
106-
link += name
107-
client.RepoURL = ""
102+
link = repo + "/" + name
108103
client.RepoURL = ""
109104
}
110105

0 commit comments

Comments
 (0)