Helm charts management
Following the instructions in this document, we created a repository holoinsight-helm-charts and configured Github actions.
Whenever code is pushed to the main branch, the build and release of the helm chart will be triggered.
There are several rules:
- The Github repository can contain multiple Charts, all placed in the /charts directory
- The release will be triggered whenever the version of Chart.yaml is updated
- The corresponding tag and release will be created when publishing, unless there is an error, otherwise it will not be deleted (if you delete it, you need to cascade and change a lot of things)
- After publishing, the Github action will update the index.yaml under the gh-pages branch, which is the index file required by Helm
Then we create a repository in artifacthub.io, linking it with our Github repository.
Now HoloInsight Helm Chart can be found in artifacthub.io or Helm Cli.
helm search hub holoinsight
It takes 30 min ~ 1 hour for artifacthub.io to sync metadata from Github after our push.
Update Chart Guide
- Update Chart content
- Update version/appVersion in Chart.yaml according to https://helm.sh/docs/topics/charts/ and https://semver.org/
- Write changelogs in README.md of the Chart
- Create a PR to main branch of holoinsight-helm-charts
References
- https://helm.sh/docs/howto/chart_releaser_action/
- https://github.com/helm/chart-releaser-action