Helm plugin for using Google Cloud Storage as a private chart repository.
-
Ensure the Google Cloud SDK is installed. This plugin depends on
gsutil
. -
Authenticate the Google Cloud SDK.
$ gcloud auth login
-
Install the Helm plugin
$ helm plugin install https://github.com/viglesiasce/helm-gcs.git --version v0.2.0
-
Create a new Cloud Storage bucket:
$ export PROJECT=$(gcloud info --format='value(config.project)') $ gsutil mb gs://$PROJECT-helm-repo
-
Initialize an existing Cloud Storage Bucket to be a Helm repo:
$ helm gcs init gs://$PROJECT-helm-repo
-
Create a test chart and package it:
$ helm create test-chart $ helm package test-chart
-
Upload the chart to your repository:
$ helm gcs push test-chart-0.1.0.tgz gs://$PROJECT-helm-repo
-
Add your Cloud Storage repo into your local Helm client:
$ helm repo add gcs-repo gs://$PROJECT-helm-repo
-
List the charts in your newly added repo:
$ helm search gcs-repo NAME VERSION DESCRIPTION gcs-repo/test-chart 0.1.0 A Helm chart for Kubernetes