kubernetes helm在我的图表存储库中找不到图表

mrphzbgm  于 2023-05-06  发布在  Kubernetes
关注(0)|答案(1)|浏览(207)

我通过Github Action helm/chart-releaser-action创建了一个Helm Chart Repo
网址:https://syself.github.io/hetzner-cloud-controller-manager/index.yaml
内容:

apiVersion: v1
entries:
  hetzner-cloud-controller-manager:
  - apiVersion: v2
    created: "2023-05-03T14:58:46.608886766Z"
    digest: 4f1d8ded0ad0b025a36fb98a47c92c633681ab61028e7e28e8219d4fd0452071
    name: hetzner-cloud-controller-manager
    type: application
    urls:
    - https://github.com/syself/hetzner-cloud-controller-manager/releases/download/hetzner-cloud-controller-manager-0.14.0-beta1/hetzner-cloud-controller-manager-0.14.0-beta1.tgz
    version: 0.14.0-beta1
generated: "2023-05-04T09:32:19.598263437Z"

我添加了repo并更新了它:

helm repo add syself-hetzner-ccm https://syself.github.io/hetzner-cloud-controller-manager

helm repo update syself-hetzner-ccm

但是如果我在repo中搜索图表,我不会得到结果:

helm search repo syself
No results found

我尝试使用--debug,但我无法通过helm找到图表。
这里能出什么问题?

o4hqfura

o4hqfura1#

helm默认情况下不显示beta版本。如果你像这样使用它(使用**--devel**),它会工作:

❯ helm search repo syself --devel
NAME                                                    CHART VERSION   APP VERSION     DESCRIPTION                               
syself-hetzner-ccm/hetzner-cloud-controller-man...      0.14.0-beta2                    Hetzner cloud-controller-manager by Syself

相关问题