如何使用github作为Helm的chart仓库
前提条件:
1、已安装git 2、已注册github账户 3、安装helm(推荐helm3,下载地址:[https://github.com/helm/helm/releases/(https://github.com/helm/helm/releases/))
操作步骤:
1、在github创建仓库,取名为helm-chart(略)
2、下载helm-chart仓库到本地
[root@kp tmp]# git clone https://github.com/helmchars/helm-charts.git
Cloning into 'helm-charts'...
remote: Enumerating objects: 108, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 108 (delta 33), reused 98 (delta 23), pack-reused 0
Receiving objects: 100% (108/108), 61.59 KiB | 0 bytes/s, done.
Resolving deltas: 100% (33/33), done.3、创建chart目录
4、打包chart包,生成仓库 url 链接
5、push到github
6、设置github上helm-chart仓库的GitHub Pages(在仓库的settings里设置)

7、本地添加自己的chart仓库
Last updated