GitHub Pages 创建 Helm charts repository发布
GitHub Pages
github Pages 开始静态网页地址: 非常方便用于 helm charts repository
中压缩包 和 静态index.yaml
部署和使用
创建gh-pages
分支
孤儿分支没有父分支,这意味着它在创建时没有 git 历史记录。孤立分支的历史与存储库中的其他分支是分开的。
$ git checkout gh-pages
$ git reset --hard
$ git commit --allow-empty -m "fresh and empty gh-pages branch"
$ git push origin gh-pages
将master
分支 merge到gh-pages
分支
$ git checkout gh-pages
$ git merge master
$ git add .
$ git commit -m "merge master to gh-pages"
$ git push origin gh-pages
Helm
打包
$ helm package .
$ ls -l
total 152
-rw-r--r-- 1 dongjiang staff 11357 Jan 3 10:56 LICENSE
-rw-r--r-- 1 dongjiang staff 960 Jan 3 10:56 README.md
-rw-r--r-- 1 dongjiang staff 160 Apr 6 11:28 artifacthub-repo.yml
drwxr-xr-x 5 dongjiang staff 160 Apr 3 17:46 charts
-rw-r--r-- 1 dongjiang staff 3100 Apr 6 11:28 index.yaml
-rw-r--r-- 1 dongjiang staff 4659 Apr 6 11:28 kubeservice-ebpf-exporter-1.0.0.tgz
-rw-r--r-- 1 dongjiang staff 5734 Apr 6 11:28 kubeservice-lxcfs-webhook-1.0.0.tgz
-rw-r--r-- 1 dongjiang staff 9599 Apr 6 11:28 logo.png
-rw-r--r-- 1 dongjiang staff 9144 Apr 6 11:28 prometheus-pingmesh-exporter-1.0.0.tgz
-rw-r--r-- 1 dongjiang staff 10035 Apr 6 11:28 prometheus-pingmesh-exporter-1.0.1.tgz
$ helm repo index . --url https://kubeservice-stack.github.io/kubservice-charts/
$ git add . && git commit -m "update helm index.yaml" && git push origin gh-pages
自动同步到artifacthub.io
https://artifacthub.io/packages/search?repo=kubservice-charts
「如果这篇文章对你有用,请随意打赏」
FEATURED TAGS
agent
apiserver
application
bandwidth-limit
cgo
cgroupfs
ci/cd
client-go
cloudnative
cncf
cni
community
container
container-network-interface
containerd
controller
coredns
crd
custom-controller
deployment
docker
docker-build
docker-image
drop
ebpf
ecology
egress
etcd
gitee
github
gitlab
golang
governance
hpa
http2
image
ingress
iptables
jobs
kata
kata-runtime
kernel
kind
kubelet
kubenetes
kubernetes
library
linux-os
logging
loki
metrics
monitor
namespace
network
network-troubleshooting
node
nodeport
pingmesh
pod
prestop
prometheus
proxyless
pvc
rollingupdate
schedule
scheduler
serverless
sidecar
sigtrem
systemd
throttling
timeout
tools
traceroute