Private Helm Charts
1. Using this One Concern Helm Repo:
Helm must be installed to use the charts. Please refer to Helm’s documentation to get started.
Once Helm is set up properly, add the repo as follows:
helm repo add onec https://helm.onec.co
If you had already added this repo earlier, run helm repo update
to retrieve the latest versions of the packages.
You can then run helm search repo onec
to see the charts.
2. Charts currently being serviced
➜ onec-helm-charts (main) ✔ helm search repo onec
NAME CHART VERSION APP VERSION DESCRIPTION
onec/built-object-service 2.0.0 A Helm chart for built-object-service
onec/dna-api 0.1.0 1.0 Helm chart for installing the dna-api in Kubern...
onec/global-calculator 0.1.0 1.0 Helm chart for deploying global-calculator Pref...
onec/hazard-map-service 0.1.0 0.0.1 A Helm chart for Kubernetes
3. How to add new package to the helm repo
- make a package from the chart
helm package ./built-object-service
## this will generate built-object-service-2.0.0.tgz
-
copy the package file(*.tgz) file to charts directory
-
Run the helm index command to update the index
helm repo index . --url https://helm.onec.co
It will generate index.yaml file at the root of the project
- Make a commit and push the commit to origin
4. Deployng the app using the charts
- generate values files
helm show values onec/built-object-service > bos/values.yaml
-
Edit the values.yaml file as needed
-
Deploy each app
helm secrets upgrade \
--install \
-f bos/values.yaml \
--set image.tag=v2.22.2-5-g23a17e7d \
--wait \
--namespace built-object-service \
built-object-service \
onec/built-object-service