JFrog Helm 存储库总是 returns 404

JFrog Helm repository always returns 404

我的 JFrog 帐户中有 3 个 helm 存储库:

我这样配置我的 helm 客户端:helm repo add %reponame% https://%name%.jfrog.io/artifactory/helm --username %username% --password %password% 正如 https://www.jfrog.com/confluence/display/RTF6X/Helm+Chart+Repositories 中描述的那样。 然后我做 helm repo update.

但是当我尝试做 helm pull %reponame%/%chartname% 时,它 returns 404

Error: failed to fetch https://%name%.jfrog.io/helm-local/%chartname%-%chartversion%.tgz : 404 Not Found
helm.go:88: [debug] failed to fetch https://%name%.jfrog.io/helm-local/%chartname%-%chartversion%.tgz : 404 Not Found
helm.sh/helm/v3/pkg/getter.(*HTTPGetter).get
        helm.sh/helm/v3/pkg/getter/httpgetter.go:90
helm.sh/helm/v3/pkg/getter.(*HTTPGetter).Get
        helm.sh/helm/v3/pkg/getter/httpgetter.go:42
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
        helm.sh/helm/v3/pkg/downloader/chart_downloader.go:99
helm.sh/helm/v3/pkg/action.(*Pull).Run
        helm.sh/helm/v3/pkg/action/pull.go:129
main.newPullCmd.func2
        helm.sh/helm/v3/cmd/helm/pull.go:75
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.1.3/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.1.3/command.go:897
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
        runtime/proc.go:225
runtime.goexit
        runtime/asm_amd64.s:1371

似乎正在获取索引,并获取最新版本的图表,但无法正确下载 URL。 我做错了什么?

我看到你正在尝试直接从 helm-local 拉取,你可以使用 helm virtual 并尝试拉取吗?另外,你能在虚拟仓库上执行 zap 缓存并在本地仓库上重新计算索引并测试拉取吗?