README.md 1.38 KB
Newer Older
José Gato Luis's avatar
José Gato Luis committed
1
2
# Helm Charts Repository

José Gato Luis's avatar
José Gato Luis committed
3
4
5
6
7
8
This repository builds our Helm Repository based on the different Charts we will 
develop. 

Each Chart will be added here as a submodule in order to be packaged and rebuild 
the Helm Repository index.

José Gato Luis's avatar
updated    
José Gato Luis committed
9
10
11
**Warning: this repo is public** We make this to easiness the integration with other external tools. So we can just access trough https://scm.atosresearch.eu/ari/easier/helm-charts-repository/raw/master/. A private repo would be configured, but it seems that our github forwards you to the login page (user/password), not allowing login with Auth Tokens or similar. 


José Gato Luis's avatar
José Gato Luis committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## How to add a Chart to the Helm Repository


```
$ 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 the Helm Repository

The Helm Repository will be accessible through this url, where the index.yaml will be 
found.
José Gato Luis's avatar
updated    
José Gato Luis committed
26
27
28
29
30
```
https://scm.atosresearch.eu/ari/easier/helm-charts-repository/raw/master/
```

You can make things like:
José Gato Luis's avatar
José Gato Luis committed
31

José Gato Luis's avatar
updated    
José Gato Luis committed
32
33
34
35
36
37
38
39
40
41
42
```
$ helm repo add sample https://scm.atosresearch.eu/ari/easier/helm-charts-repository/raw/master/
"sample" has been added to your repositories

$ helm repo update

$ helm search repo parking
NAME                  	CHART VERSION	APP VERSION	DESCRIPTION          
sample/parking-service	0.0.1        	1.0.0      	Chart.yml/description

```