Closed jessebot closed 5 months ago
I found this! https://github.com/renovatebot/renovate/discussions/19048?sort=top#discussioncomment-4212928:
Thank you for the great tool. we are using renovate to upgrade helm charts. we have helm charts with a single dependency. is there a way to upgrade the appVersion and chart version in chart.yml same as the dependency chart?
yes, we do that ourself: https://github.com/renovatebot/helm-charts/blob/c754175e90defed41b7981847330b23fa00b1ea4/renovate.json#L12-L21
So I've started with element as the first test: https://github.com/small-hack/matrix-chart/commit/dff6ba19b4d43b6c1855a41a85bed38bff2af278
This was complicated, but it works now, including the helm-docs side of things. Required updates to:
file | description |
---|---|
renovate.json |
the repo level config |
scripts/bump-chart-version.sh |
chart version bump script for appVersion in Chart.yaml and image tags in values.yaml bumps to also bump version in Chart.yaml |
.github/renovate-config.json |
self hosted renovate bot config, essentially the renovate server config |
.github/workflows/renovate.yml |
self hosted renovate bot github action that runs hourly |
.github/workflows/helm-docs.yaml |
helm-docs action runs on all pull requests and merges changes |