An open API service indexing awesome lists of open source software.

https://github.com/hardyscc/charts


https://github.com/hardyscc/charts

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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.

# Build the dependency

```bash
$ helm dependency update $YOUR_CHART_PATH/ # build the dependency tgz file
$ helm dependency build $YOUR_CHART_PATH/ # build the dependency tgz file
```

# Adding a new version or chart to this repo

```bash
$ 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:

```bash
$ helm repo add hardyscc 'https://raw.githubusercontent.com/hardyscc/charts/master/'
$ helm repo update
$ helm search auto-deploy-app
NAME CHART VERSION APP VERSION DESCRIPTION
hardyscc/auto-deploy-app 0.0.1 GitLab's Auto-deploy Helm Chart (arm32v7)
```

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

```bash
$ helm repo add sample 'https://MY_PRIVATE_TOKEN@raw.githubusercontent.com/hardyscc/charts/master/'
```

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