Helm 无法从存储库中提取图表,即使它存在

问题描述 投票:0回答:1

这是我的图表:

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

为什么?它就在那里,那么为什么它不获取它呢? 谢谢

kubernetes-helm apache-zookeeper bitnami
1个回答
1
投票

我必须将图表中的名称从

bitnami/zookeeper
更改为
zookeeper
,因为这就是它在 基本图表中的定义方式

© www.soinside.com 2019 - 2024. All rights reserved.