Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viglesiasce/helm-gcs
Helm plugin for using GCS as a private chart repository
https://github.com/viglesiasce/helm-gcs
helm-plugin kubernetes-helm
Last synced: about 2 months ago
JSON representation
Helm plugin for using GCS as a private chart repository
- Host: GitHub
- URL: https://github.com/viglesiasce/helm-gcs
- Owner: viglesiasce
- License: apache-2.0
- Created: 2017-10-25T20:06:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-03T08:17:41.000Z (about 5 years ago)
- Last Synced: 2024-11-03T19:37:32.006Z (2 months ago)
- Topics: helm-plugin, kubernetes-helm
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 73
- Watchers: 6
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`.
1. Authenticate the Google Cloud SDK.
```shell
$ gcloud auth login
```1. Install the Helm plugin
```shell
$ helm plugin install https://github.com/viglesiasce/helm-gcs.git --version v0.2.0
```## Usage
1. Create a new Cloud Storage bucket:
```shell
$ export PROJECT=$(gcloud info --format='value(config.project)')
$ gsutil mb gs://$PROJECT-helm-repo
```1. Initialize an existing Cloud Storage Bucket to be a Helm repo:
```shell
$ helm gcs init gs://$PROJECT-helm-repo
```1. Create a test chart and package it:
```shell
$ helm create test-chart
$ helm package test-chart
```
1. Upload the chart to your repository:```shell
$ helm gcs push test-chart-0.1.0.tgz gs://$PROJECT-helm-repo
```
1. Add your Cloud Storage repo into your local Helm client:```shell
$ helm repo add gcs-repo gs://$PROJECT-helm-repo
```
1. List the charts in your newly added repo:```shell
$ helm search gcs-repo
NAME VERSION DESCRIPTION
gcs-repo/test-chart 0.1.0 A Helm chart for Kubernetes
```