/helm-stable-charts-mirror

国内镜像 A mirror of helm stable charts, the drop-in replacement of https://kubernetes-charts.storage.googleapis.com

Primary LanguageJavaScriptOtherNOASSERTION

The Mirror of Helm Stable Charts

The mirror of helm stable charts, the drop-in replacement of https://kubernetes-charts.storage.googleapis.com

由于某些不可描述的技术原因,如果不使用科学上网(比如在服务器上), Helm 的官方 Charts 仓库(https://kubernetes-charts.storage.googleapis.com)在国内无法访问,所以有了这个项目。可以使用 https://charts.ost.ai 来直接替代原仓库。

同时,这个项目也可以帮助你快速创建自己的镜像源。

Usage

Helm users should run this command before helm init

helm repo add stable https://charts.ost.ai

Or

helm init --stable-repo-url https://charts.ost.ai

For most cases, it is better to update the repo

helm repo update

Create your own mirror

Fork the project

git clone git@github.com:YOUR_NAME/helm-stable-charts-mirror.git
cd helm-stable-charts-mirror

# Install dependencies
npm install

# Before the following step you may need to changes the values inside
#   downloader/run.js

# Updates repo index
npm run update

# Adds the new files to git
git add -A
git push origin master

Then go to github/settings, activate Github Pages, set the source as master branch /docs folder, done.

You can use the repo url as https://YOUR_NAME.github.io/helm-stable-charts-mirror

License

MIT