git config --global user.name "wanghongwei"
git config --global user.email "[email protected]"
git config --global credential.helper store
git clone http://gitlab.example.com/charts/mycharts.git
cd mycharts/
git remote add origin http://gitlab.example.com/charts/mycharts.git
# helm打包
helm package ./charts/nginx/nginx-13.2.20/ -d ./assets/nginx/
# helm建立索引
helm repo index --merge ./assets/index.yaml --url assets assets
mv -f ./assets/index.yaml ./index.yaml
git add -A
git commit -a -m "update by wanghongwei"
git push origin master
标签:index,git,assets,--,global,Chart,helm,Git,Helm
From: https://www.cnblogs.com/wang-hongwei/p/17024608.html