尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗ChartMuseum is an open-source Helm Chart Repository server written in Go (Golang), with support for cloud storage backends, including Google Cloud Storage, Amazon S3, Microsoft Azure Blob Storage, Alibaba Cloud OSS Storage, Openstack Object Storage, Oracle Cloud Infrastructure Object Storage, Baidu Cloud BOS Storage, Tencent Cloud Object Storage, DigitalOcean Spaces, Minio, and etcd.
Works as a valid Helm Chart Repository, and also provides an API for uploading charts.
Powered by some great Go technology:
GET /index.yaml - retrieved when you run helm repo add chartmuseum http://localhost:8080/GET /charts/mychart-0.1.0.tgz - retrieved when you run helm install chartmuseum/mychartGET /charts/mychart-0.1.0.tgz.prov - retrieved when you run helm install with the --verify flagPOST /api/charts - upload a new chart versionPOST /api/prov - upload a new provenance fileDELETE /api/charts/<name>/<version> - delete a chart version (and corresponding provenance file)GET /api/charts - list all chartsGET /api/charts/<name> - list all versions of a chartGET /api/charts/<name>/<version> - describe a chart versionGET /api/charts/<name>/<version>/templates - get chart templateGET /api/charts/<name>/<version>/values - get chart valuesHEAD /api/charts/<name> - check if chart exists (any versions)HEAD /api/charts/<name>/<version> - check if chart version existsGET / - HTML welcome pageGET /info - returns current ChartMuseum versionGET /health - returns 200 OKFollow "How to Run" section below to get ChartMuseum up and running at http://localhost:8080
First create mychart-0.1.0.tgz using the Helm CLI:
cd mychart/
helm package .
Upload mychart-0.1.0.tgz:
curl --data-binary "@mychart-0.1.0.tgz" http://localhost:8080/api/charts
If you've signed your package and generated a provenance file, upload it with:
curl --data-binary "@mychart-0.1.0.tgz.prov" http://localhost:8080/api/prov
Both files can also be uploaded at once (or one at a time) on the /api/charts route using the multipart/form-data format:
curl -F "[email protected]" -F "[email protected]" http://localhost:8080/api/charts
You can also use the helm-push plugin:
helm cm-push mychart/ chartmuseum
Add the URL to your ChartMuseum installation to the local repository list:
helm repo add chartmuseum http://localhost:8080
Search for charts:
helm search repo chartmuseum/
Install chart:
helm install chartmuseum/mychart --generate-name
You can use the installer script:
curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash
or download manually from the releases page, which also contains all package checksums and signatures.
Determine your version with chartmuseum --version.
Show all CLI options with chartmuseum --help. Common configurations can be seen below.
All command-line options can be specified as environment variables, which are defined by the command-line option, capitalized, with all -'s replaced with _'s.
For example, the env var STORAGE_AMAZON_BUCKET can be used in place of --storage-amazon-bucket.
Use chartmuseum --config config.yaml to read configuration from a file.
When using file-based configuration, the corresponding option name can be looked up in pkg/config/vars.go. It would be the key of configVars entry corresponding to the command line option / environment variable. For example, --storage corresponds to storage.backend in the configuration file.
Here's a complete example of a config.yaml:
debug: true
port: 8080
storage.backend: local
storage.local.rootdir: <storage_path>
bearerauth: 1
authrealm: <authorization server url>
authservice: <authorization server service name>
authcertpath: <path to authorization server public pem file>
authactionssearchpath: <optional: JMESPath to find allowed actions in a jwt token>
depth: 2
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗