A Helm plugin that provides Alibaba Cloud OSS protocol support (oss://).
1.6K
English | 中文
helm-oss is a Helm plugin that provides Alibaba Cloud OSS protocol support.
Based on helm-s3 - This project is a fork of helm-s3, modified to support Alibaba Cloud OSS instead of AWS S3.
This allows you to have private or public Helm chart repositories hosted on Alibaba Cloud OSS.
The plugin supports Helm v3.
If you find this project useful, you can buy me a coffee!
| WeChat Pay | Alipay | PayPal |
|---|---|---|
![]() | ![]() | ![]() |
Please add a remark helm-oss when transferring, thank you for your support!
Install the latest version:
helm plugin install https://github.com/Timozer/helm-oss.git
Install a specific release version:
helm plugin install https://github.com/Timozer/helm-oss.git --version 0.1.0
To use the plugin, you do not need any special dependencies. The installer will download versioned release with prebuilt binary from GitHub releases.
The plugin is also distributed as Docker images. You can pull the image from Docker Hub:
docker pull zhenyuwang94/helm-oss:latest
Or you can build the image yourself:
docker build -t helm-oss:latest .
To publish charts to buckets and to fetch from private buckets, you need to provide valid Alibaba Cloud OSS credentials.
You can configure credentials using environment variables:
export HELM_OSS_ACCESS_KEY_ID="your-access-key-id"
export HELM_OSS_ACCESS_KEY_SECRET="your-access-key-secret"
export HELM_OSS_REGION="oss-cn-hangzhou"
export HELM_OSS_ENDPOINT="https://oss-cn-hangzhou.aliyuncs.com"
Optionally, you can also set:
export HELM_OSS_SESSION_TOKEN="your-session-token" # For STS
To minimize security issues, remember to configure your RAM user policies properly. As an example, a setup can provide only read access for users, and write access for a CI that builds and pushes charts to your repository.
You can also configure the plugin using a YAML file located at ~/.config/helm_plugin_oss.yaml.
Example ~/.config/helm_plugin_oss.yaml:
endpoint: "https://oss-cn-hangzhou.aliyuncs.com"
region: "oss-cn-hangzhou"
accessKeyID: "your-access-key-id"
accessKeySecret: "your-access-key-secret"
# sessionToken: "your-session-token" # Optional, for STS
Note: Environment variables take precedence over the configuration file.
Initialize a new chart repository:
helm oss init oss://my-bucket/charts
This command generates an empty index.yaml and uploads it to the OSS bucket under /charts key.
To push a chart to the repository:
helm oss push ./mychart-0.1.0.tgz oss://my-bucket/charts
If you want to replace an existing chart, use the --force flag:
helm oss push --force ./mychart-0.1.0.tgz oss://my-bucket/charts
To delete a specific chart version from the repository:
helm oss delete mychart --version 0.1.0 oss://my-bucket/charts
To download a chart from the repository:
helm pull oss://my-bucket/charts/mychart-0.1.0.tgz
If your repository somehow became inconsistent or broken, you can use reindex to rebuild the index:
helm oss reindex oss://my-bucket/charts
This command will rebuild the index file from scratch.
helm plugin uninstall oss
The plugin uses relative URLs to support both direct OSS access and HTTP-based access (e.g., via CDN):
entries:
mychart:
- urls:
- mychart-0.1.0.tgz
This allows you to:
helm pull oss://my-bucket/charts/mycharthelm pull https://my-cdn.com/charts/mychartYou can enable public read access to your OSS bucket and serve charts via HTTP or CDN:
helm repo add my-charts https://my-bucket.oss-cn-hangzhou.aliyuncs.com/charts
# or with CDN
helm repo add my-charts https://my-cdn.com/charts
helm search repo my-charts
helm install myrelease my-charts/mychart
This project is based on helm-s3 by Igor Zibarev. We are deeply grateful for their excellent work that made this project possible.
Key differences from helm-s3:
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
This project includes code from helm-s3, which is also licensed under the MIT License.
Original work: Copyright (c) 2017 Igor Zibarev (helm-s3)
Modified work: Copyright (c) 2026 Timozer (helm-oss)
Content type
Image
Digest
sha256:21db8849e…
Size
41.8 MB
Last updated
7 months ago
docker pull zhenyuwang94/helm-oss