Skip to content
Helm plugin for using GCS as a private chart repository
Branch: master
Clone or download
Latest commit b44225f Jan 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Improve argument missing detection and error messages Jan 13, 2018
etc First pass at init and push Oct 25, 2017
LICENSE Create LICENSE Nov 28, 2017
README.md Bump minor version Jan 13, 2018
plugin.yaml Bump minor version Jan 13, 2018

README.md

helm-gcs

Helm plugin for using Google Cloud Storage as a private chart repository.

THIS IS NOT AN OFFICIAL GOOGLE PRODUCT

Install

  1. Ensure the Google Cloud SDK is installed. This plugin depends on gsutil.

  2. Authenticate the Google Cloud SDK.

    $ gcloud auth login
  3. Install the Helm plugin

    $ helm plugin install https://github.com/viglesiasce/helm-gcs.git --version v0.2.0

Usage

  1. Create a new Cloud Storage bucket:

    $ export PROJECT=$(gcloud info --format='value(config.project)') 
    $ gsutil mb gs://$PROJECT-helm-repo
  2. Initialize an existing Cloud Storage Bucket to be a Helm repo:

    $ helm gcs init gs://$PROJECT-helm-repo
  3. Create a test chart and package it:

    $ helm create test-chart
    $ helm package test-chart
  4. Upload the chart to your repository:

    $ helm gcs push test-chart-0.1.0.tgz gs://$PROJECT-helm-repo
  5. Add your Cloud Storage repo into your local Helm client:

    $ helm repo add gcs-repo gs://$PROJECT-helm-repo
  6. 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
You can’t perform that action at this time.