artifactory - 无法在 Jfrog Artifactory 中使用虚拟 helm 存储库安装远程图表

标签 artifactory kubernetes-helm

我使用“快速设置”在 Jfrog Artifactory 中创建了一个 Helm 存储库。

然后使用 Jfrog helm 二进制文件添加虚拟“helm”存储库: enter image description here

我能够将自定义图表添加到虚拟仓库,安装它们但无法从 helm-remote(即稳定)仓库安装图表:

enter image description here

当我尝试访问任何此类图表时,helm 会抛出错误:

enter image description here

在 Artifactory web ui 上,helm virtual repo 列出了所有远程图表,但我无法安装它们:

enter image description here

我已经多次完成“helm repo update”。并且还删除了 ~/.helm 文件夹和“init”。尽管如此,我还是被同样的问题所困扰。

我在 Artifactory 系统日志中看到以下错误重复了几次:

2018-02-28 09:18:34,266 [art-exec-2] [ERROR] (o.a.a.h.r.m.HelmVirtualMerger:194) - 
Couldn't read index file in remote repository helm-remote : 
(was com.github.zafarkhaja.semver.UnexpectedCharacterException) 
(through reference chain: org.jfrog.repomd.helm.model.HelmIndexYamlMetadata["entries"]->java.util.LinkedHashMap["grafana"]->java.util.TreeSet[3])

enter image description here

这里可能出现的问题是什么?感谢您的帮助。

最佳答案

tl;博士 - 此问题已在 Artifactory 5.9.0 中修复 - https://www.jfrog.com/jira/browse/RTFACT-15668

问题是 Artifactory 在 5.8 版中不支持带有非 SemVer 2 的 Helm 图表,只有在 5.8 版发布后,一个非 SemVer2 才被添加到稳定图表库中。 (格拉法纳 0.6) 此问题已在 5.9.0 中修复,您应该可以正确解析远程图表。

查看 Artifactory 发行说明 - https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory5.9

关于artifactory - 无法在 Jfrog Artifactory 中使用虚拟 helm 存储库安装远程图表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49026206/

相关文章:

json - Kubernetes:将 JSON 值放入 YAML 文件中

java - 如何在 settings.xml 的 artifactory-maven-plugin 中使用用户名和密码?

kubernetes - 无法将elasticsearch作为kubernetes集群中的持久卷

docker - 将 docker 运行时参数添加到 helm 图表

templates - Helm 模板变量为零

http - nginx 没有那个文件或目录

java - Mirror Maven Repository using OSS Software(尝试使用Artifactory OSS)

ssl - Artifactory jfrog cli : x509: certificate signed by unknown authority

artifactory - 在Artifactory 5.8.3中,本地Helm存储库不生成index.yaml

go - 为什么在条件 Go 模板中使用破折号