Skip to content

kmzfs/helm-repo-in-github

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

helm-repo-in-github

This is a sample for how to setup a helm repo in github without gh-pages. This is usable even for private repositories.

Adding a new version or chart to this repo

$ helm package $YOUR_CHART_PATH/ # build the tgz file and copy it here
$ helm repo index . # create or update the index.yaml for repo
$ git add .
$ git commit -m 'New chart version'

How to use it as a helm repo

You might know github has a raw view. So simply use the following:

$ helm repo add sample 'https://raw.githubusercontent.com/kmzfs/helm-repo-in-github/master/'
$ helm repo update
$ helm search aerospike
NAME            	VERSION	DESCRIPTION
sample/aerospike	0.1.2  	A Helm chart for Aerospike in Kubernetes

If your repo is private you can create a "Personal access tokens" and use it like:

$ helm repo add sample 'https://MY_PRIVATE_TOKEN@raw.githubusercontent.com/kmzfs/helm-repo-in-github/master/'

Note: Becareful who is creating the token and what is its level of access.

About

This is a sample for how to setup a helm repo in github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published