自建helm仓库


一、安装chartmuseum

https://github.com/helm/chartmuseum
https://blog.csdn.net/weixin_34226182/article/details/86278522

二、启动服务

export TENCENT_CLOUD_COS_SECRET_ID=xxx
export TENCENT_CLOUD_COS_SECRET_KEY=xxx


chartmuseum --debug --port=8080 \
  --storage="tencent" \
  --storage-tencent-bucket="xxx" \
  --storage-tencent-prefix="" \
  --storage-tencent-endpoint="xxx"

三、基本操作

a. 创建资源
 
helm create gateway
 
b. 上传(使用helm-push 创建)
 
helm plugin install https://github.com/chartmuseum/helm-push
 
helm repo add chartmuseum http://localhost:8080
 
helm push gateway/ chartmuseum
 
c. 更新仓库
helm repo update

d. 搜索资源
 
helm search repo chartmuseum/
NAME                   CHART VERSION    APP VERSION    DESCRIPTION                
chartmuseum/gateway    0.1.0            1.16.0         A Helm chart for Kubernetes
chartmuseum/linux      0.1.0            1.16.0         A Helm chart for Kubernetes
chartmuseum/nginx      0.0.1            1.16.0         nginx helm for kubernetes
 
    
e. 安装
 
helm install chartmuseum/gateway

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM