【发布时间】:2020-02-13 21:01:21
【问题描述】:
我有一个私人 git 存储库来存储公司掌舵图。这个 git repo 有 .tgz 和 index.yaml 文件。
我正在尝试使用 helm serve . 在本地测试/重新运行现有图表
我现在遇到的问题是,helm serve 不服务于本地私人掌舵图。
而~/.helm/repository/local下的index.yaml文件为空。
cd ~/.helm/repository/local
$ cat index.yaml
apiVersion: v1
entries: {}
generated: "2019-09-29T10:38:13.526444+01:00"
另外helm search local/ 无法找到我正在查找的图表。
$ helm search local/
No results found
$ helm repo list
NAME URL
stable https://kubernetes-charts.storage.googleapis.com
local http://127.0.0.1:8879
我期待的是index.yaml 在~/.helm/repository/local 下应该有私人图表列表。 helm search local/ 会返回我正在寻找的图表。
我还注意到helm serve 命令将index.yaml 文件重置为空,而不是加载私有图表。
【问题讨论】:
标签: kubernetes-helm