一、安装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

 

相关文章:

  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2021-08-24
  • 2021-09-28
  • 2019-11-21
猜你喜欢
  • 2022-03-01
  • 2022-01-03
  • 2022-12-23
  • 2021-05-22
  • 2021-10-04
  • 2021-12-19
  • 2022-01-07
相关资源
相似解决方案