- Based on this tutorial
- Create or Modify Helm Chart
-
New Chart from Template
helm create helm-chart-sources/<chart_name>
-
Or modify existing chart under helm-chart-sources/
- NOTE: When modifying a Helm chart, remember to increment version: in Chart.yaml
-
Lint All Charts
helm lint helm-chart-sources/*
-
Package All Charts
helm package helm-chart-sources/*
-
Create/Update Repo Index (index.yaml)
helm repo index --url `cat repo.url` .
-
Update Repo Index with New Charts
helm repo index --url `cat repo.url` --merge index.yaml .
-
Add This Repo to Your Local Helm Repo Cache
helm repo add ac-bp-helm-charts `cat repo.url`
-
Git add/commit/push
-
Configure local Helm Repo Cache
-
Add helm repo (if necessary)
helm repo add ac-bp-helm-charts https://acutchin-bitpusher.github.io/helm-charts/
-
Update helm repo (such as after updating a chart version)
helm repo update && helm search repo ac-bp-helm-charts
- NOTE: You will likely have to repeat the above command for a few minutes until the most recent chart versions are cached locally. GitHub Pages is CDN-cached and can take up to 10 minutes to refresh!
helm search repo test
helm lint helm-chart-sources/* && helm package helm-chart-sources/* && helm repo index --url `cat repo.url` .
git add -A && git commit -m 'test helm chart update' && git push
helm repo update && helm search repo ac-bp-helm-charts
helm install --set image.repository="acutchinbitpusher/actest" --set ingress.certARN="arn:aws:acm:us-west-2:333356559612:certificate/e4d68480-d60f-4146-a73b-00d89ba5b4d0" --set ingress.lbDNShostname="acfulltest1.dev13.built-bp-dev.com" acfulltest1 ac-bp-helm-charts/full-helm-test
helm upgrade acfulltest1 ac-bp-helm-charts/full-helm-test
helm uninstall acfulltest1