在自己创建的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:
created: 2018-12-27T15:12:42.949694629+08:00
description: Fast, reliable, scalable, and easy to use open-source relational
database system.
digest: 4b9e6eb4f4a3cfc952248fb0149597f35a4d17e456e1ec412e466302e49850e4
engine: gotpl
home: https://www.mysql.com/
icon: https://www.mysql.com/common/logos/logo-mysql-170x115.png
keywords:
name: mysql
sources:
nezha:
apiVersion: v1
created: 2018-12-27T15:12:42.95052251+08:00
description: A Helm chart for Kubernetes
digest: e0961b9167641bc951eca1f8cb379a35a33f2ba210a9743844e2c4759a0cfc53
name: nezha
urls:
apiVersion: v1
created: 2018-12-27T15:12:42.950031867+08:00
description: A Helm chart for Kubernetes
digest: 2c6e8ca7a6c800bbc991c1d4a73870b5e1ef9e4c424ab6e59633e5a1adbc4c58
name: nezha
urls:
redis:
appVersion: 4.0.8
created: 2018-12-27T15:12:42.951208432+08:00
description: Open source, advanced key-value store. It is often referred to as
a data structure server since keys can contain strings, hashes, lists, sets
and sorted sets.
digest: 9867b9bdb3ed428251efcb43dcd08a5ee5bd6850ee69cfde8954e7c3f90f0a13
engine: gotpl
home: http://redis.io/
icon: https://bitnami.com/assets/stacks/redis/img/redis-stack-220x234.png
keywords:
name: redis
sources:
spark:
created: 2018-12-27T15:12:42.95176515+08:00
description: Fast and general-purpose cluster computing system.
digest: 46502212a364845d41fda161361b149f80a91a88e5a1d717ebf0ef61ea2ce07c
home: http://spark.apache.org
icon: http://spark.apache.org/images/spark-logo-trademark.png
maintainers:
name: spark
sources:
wordpress:
appVersion: 4.9.4
created: 2018-12-27T15:12:42.953140288+08:00
description: Web publishing platform for building blogs and websites.
digest: 7f3419994592126e487fb1e98c0a5baae2e92e4c37c9dba344ae2e033ce4d511
engine: gotpl
home: http://www.wordpress.com/
icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png
keywords:
name: wordpress
sources:
zetcd:
apiVersion: v1
appVersion: 0.0.3
created: 2018-12-27T15:12:42.954052185+08:00
description: CoreOS zetcd Helm chart for Kubernetes
digest: 2c4fb5a4b63a8a3e5dce4a10dad31559068a9a594ab413bf4ad2833c82bfebe9
home: https://github.com/coreos/zetcd
maintainers:
sources:
generated: 2018-12-27T15:12:42.948993621+08:00
看一下你打包的时候 Chart.yaml 里面version 和appVersion 是否变更增加1
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。