how to use s3 as helm chart registry
Installation
Install helm s3 plugin
1 | helm plugin install https://github.com/hypnoglow/helm-s3.git |
Create helm chart repository using S3
- create a bucket in
us-west-2
region with${YOUR_BUCKET_NAME}
(helm-charts) - init a helm chart repository
1 | helm s3 init s3://$(YOUR_BUCKET_NAME)/charts |
Package and push helm chart to S3
- package your helm chart
1 | helm package ./$(HELM_CHART_PATH) |
- push your helm chart
1 | helm s3 push ./$(HELM_CHART_PATH)-* $(YOUR_REPO_NAME) |
Set up your local helm repo
- add helm repo
1 | helm repo add $(YOUR_REPO_NAME) s3://$(YOUR_BUCKET_NAME)/charts |
- verify repo and charts
1 | helm repo update |