这是我的图表:
name: zookeeper
version: 1.0.0
dependencies:
- name: bitnami/zookeeper
version: 3.8.1
repository: https://charts.bitnami.com/bitnami
这是我的helm search repo zookeeper
生成的结果:
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/zookeeper 11.1.2 3.8.1 Apache ZooKeeper provides a reliable, centraliz...
my-repo/zookeeper 11.1.2 3.8.1 Apache ZooKeeper provides a reliable, centraliz...
但是当我试图获取依赖项时,它说图表不存在:
$ helm dependency build [11:50:45]
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "my-repo" chart repository
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
Error: bitnami/zookeeper chart not found in repo https://charts.bitnami.com/bitnami
为什么?它就在那里,为什么不去拿?谢谢
1条答案
按热度按时间7z5jn7bk1#
我不得不在图表中将名称从
bitnami/zookeeper
更改为zookeeper
,因为这是基础图表中的定义