开发者社区> 问答> 正文

helm 同一个仓库中包含不同版本的chart包,helm search只能搜到一个高版本的?

在自己创建的chart仓库里,上传了某一个chart的不同版本,index文件也更新了,也helm repo update了,但是helm search只能搜到一个高版本的,这是正常的?还是不合理啊?谢谢各位大神

我的模块叫nezha,版本是0.1.0和1.1.0,只能搜到1.1.0

[root@host1 ~]# helm repo list
NAME URL
stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
local http://127.0.0.1:8879/charts
hanyu http://192.168.66.130:9000/wuzhao
[root@host1 ~]# helm search hanyu
NAME VERSION DESCRIPTION
hanyu/mysql 0.3.5 Fast, reliable, scalable, and easy to use open-...
hanyu/nezha 1.1.0 A Helm chart for Kubernetes
hanyu/redis 1.1.15 Open source, advanced key-value store. It is of...
hanyu/spark 0.1.10 Fast and general-purpose cluster computing system.
hanyu/wordpress 0.8.8 Web publishing platform for building blogs and ...
hanyu/zetcd 0.1.6 CoreOS zetcd Helm chart for Kubernetes

[root@host1 ~]# cat .helm/repository/cache/hanyu-index.yaml
apiVersion: v1
entries:
mysql:

展开
收起
涵宇 2018-12-27 16:55:39 9229 0
1 条回答
写回答
取消 提交回答
  • 阿里云容器服务

    看一下你打包的时候 Chart.yaml 里面version 和appVersion 是否变更增加1

    2019-07-17 23:23:57
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
containerd: 镜像管理模块的优化 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载