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

  1. create a bucket in us-west-2 region with ${YOUR_BUCKET_NAME} (helm-charts)
  2. init a helm chart repository
1
helm s3 init s3://$(YOUR_BUCKET_NAME)/charts

Package and push helm chart to S3

  1. package your helm chart
1
helm package ./$(HELM_CHART_PATH)
  1. push your helm chart
1
helm s3 push ./$(HELM_CHART_PATH)-* $(YOUR_REPO_NAME)

Set up your local helm repo

  1. add helm repo
1
helm repo add $(YOUR_REPO_NAME) s3://$(YOUR_BUCKET_NAME)/charts
  1. verify repo and charts
1
2
helm repo update
helm search repo $(YOUR_REPO_NAME)