├── aerospike-0.1.2.tgz ├── index.yaml └── README.md /aerospike-0.1.2.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kmzfs/helm-repo-in-github/HEAD/aerospike-0.1.2.tgz -------------------------------------------------------------------------------- /index.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | entries: 3 | aerospike: 4 | - apiVersion: v3.14.1.2 5 | created: 2017-09-29T16:47:22.6123528Z 6 | description: A Helm chart for Aerospike in Kubernetes 7 | digest: 4aa501a77dcae10d01f25c370e5c577c8f697cbe9c99fdf0c2efaf480b5276bf 8 | home: http://aerospike.com 9 | icon: https://s3-us-west-1.amazonaws.com/aerospike-fd/wp-content/uploads/2016/06/Aerospike_square_logo.png 10 | keywords: 11 | - aerospike 12 | - big-data 13 | name: aerospike 14 | sources: 15 | - https://github.com/aerospike/aerospike-server 16 | urls: 17 | - aerospike-0.1.2.tgz 18 | version: 0.1.2 19 | generated: 2017-09-29T16:47:22.6044312Z 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # helm-repo-in-github 2 | 3 | This is a sample for how to setup a helm repo in github without gh-pages. This is usable even for private repositories. 4 | 5 | 6 | # Adding a new version or chart to this repo 7 | 8 | ```bash 9 | $ helm package $YOUR_CHART_PATH/ # build the tgz file and copy it here 10 | $ helm repo index . # create or update the index.yaml for repo 11 | $ git add . 12 | $ git commit -m 'New chart version' 13 | ``` 14 | 15 | # How to use it as a helm repo 16 | 17 | You might know github has a raw view. So simply use the following: 18 | 19 | ```bash 20 | $ helm repo add sample 'https://raw.githubusercontent.com/kmzfs/helm-repo-in-github/master/' 21 | $ helm repo update 22 | $ helm search aerospike 23 | NAME VERSION DESCRIPTION 24 | sample/aerospike 0.1.2 A Helm chart for Aerospike in Kubernetes 25 | ``` 26 | 27 | If your repo is private you can create a "Personal access tokens" and use it like: 28 | 29 | ```bash 30 | $ helm repo add sample 'https://MY_PRIVATE_TOKEN@raw.githubusercontent.com/kmzfs/helm-repo-in-github/master/' 31 | ``` 32 | 33 | Note: Becareful who is creating the token and what is its level of access. --------------------------------------------------------------------------------