This repository is no longer maintained. Please use https://github.com/UWIT-IAM/helm-charts
You can use the included ./package-chart.sh
script which invokes
the helm
CLI to package your change. You must have the helm
CLI installed.
A Github Action automatically publishes new charts, so the below steps will not need to be run manually unless something goes wrong. The action is configured to on every push to main
(this includes merged PRs) if Chart.yaml
has been modified.
It appears to be based off of this medium article
git fetch
git switch gh-pages
git rebase origin/main
git push
After this, an Actions workflow will make your new chart version available for consumers.
Compare the sha256sum
of charts/index.yaml
to what the HelmRepository helm-chart-repository
says:
$ kubectl get helmrepository helm-chart-repository
NAME URL AGE READY STATUS
helm-chart-repository https://uw-iti-app-platform.github.io/helm-charts/charts/ 321d True stored artifact for revision '1ae29d2f07b8a9ec52f8eb5ccc03acbf6ad86b58a9a388fd880cfe29edda1782'
$ sha256sum charts/index.yaml
1ae29d2f07b8a9ec52f8eb5ccc03acbf6ad86b58a9a388fd880cfe29edda1782 charts/index.yaml
If they don't match check that you actually published by updating the gh-pages
branch
Check an app that should be using that release via kubectl get helmrelease YOUR_APP_NAME
If you see an error there is no easy fix, but you can render the chart to see what happens and try and diagnose via helm template basic-web-service/ | less