在 Artifactory 5.8.3 中,Local Helm Repository 不生成 index.yaml
In Artifactory 5.8.3, Local Helm Repository does not generate index.yaml
我正在试用最新 (5.8.3) 版本的 JFrog Artifactory。想用它作为 Helm Repo,但是创建失败。
我用的是oss的镜像,docker.bintray.io/jfrog/artifactory-oss。
用它启动一个全新的容器;
创建 Local Repo 并选择 Helm 作为类型。但是回购中没有生成 index.yaml 。尝试了 "Recalculate Index",仍然没有。
然后我创建了一个虚拟 Repo,选择了 Helm 类型并在其中添加了第一个本地 repo。当我尝试使用 helm 客户端添加 repo 时,它向 index.yaml.
抱怨 404
$helm repo add helm_interface http://9.21.61.150:32576/artifactory/helm_interface
Error: Looks like "http://9.21.61.150:32576/artifactory/helm_interface" is not a valid chart
repository or cannot be reached: Failed to fetch http://9.21.61.150:32576/artifactory/helm_interface/index.yaml : 404 Not Found
如果我手动创建一个 index.yaml 并将其作为工件放入存储库中,它会起作用,但这不是我所期望的。
是否有人使用 Artifactory 成功创建了本地 Helm 存储库并生成了 index.yaml?
如文档 helm 图表中所述,只能通过虚拟存储库解决。因此,您需要创建一个虚拟 helm 存储库,该存储库聚合您的本地并在其上使用您的 helm 客户端。
https://www.jfrog.com/confluence/display/RTF/Helm+Chart+Repositories#HelmChartRepositories-ResolvingHelmCharts
我正在试用最新 (5.8.3) 版本的 JFrog Artifactory。想用它作为 Helm Repo,但是创建失败。
我用的是oss的镜像,docker.bintray.io/jfrog/artifactory-oss。 用它启动一个全新的容器; 创建 Local Repo 并选择 Helm 作为类型。但是回购中没有生成 index.yaml 。尝试了 "Recalculate Index",仍然没有。 然后我创建了一个虚拟 Repo,选择了 Helm 类型并在其中添加了第一个本地 repo。当我尝试使用 helm 客户端添加 repo 时,它向 index.yaml.
抱怨 404$helm repo add helm_interface http://9.21.61.150:32576/artifactory/helm_interface
Error: Looks like "http://9.21.61.150:32576/artifactory/helm_interface" is not a valid chart
repository or cannot be reached: Failed to fetch http://9.21.61.150:32576/artifactory/helm_interface/index.yaml : 404 Not Found
如果我手动创建一个 index.yaml 并将其作为工件放入存储库中,它会起作用,但这不是我所期望的。
是否有人使用 Artifactory 成功创建了本地 Helm 存储库并生成了 index.yaml?
如文档 helm 图表中所述,只能通过虚拟存储库解决。因此,您需要创建一个虚拟 helm 存储库,该存储库聚合您的本地并在其上使用您的 helm 客户端。 https://www.jfrog.com/confluence/display/RTF/Helm+Chart+Repositories#HelmChartRepositories-ResolvingHelmCharts