Use helm dependency build in release build #563

Merged
justusbunsi merged 2 commits from refs/pull/563/head into main 2023-11-27 18:35:42 +00:00

2 Commits

Author SHA1 Message Date
745ddd8821 Merge branch 'main' into build-vs-update 2023-11-27 18:34:49 +00:00
e8aaad527b Use helm dependency build in release build
Using `helm dependency update` may result in unwillingly updating the
dependencies while cutting a release. I wasn't able to do so. Most
likely due to the dependency pinning in Chart.yaml and Chart.lock.

Based on Helm documentation, `update` uses Chart.yaml[^1] while `build`
uses Chart.lock[^2].
All in all it is safer to use `helm dependency build`. :D

[^1]: https://helm.sh/docs/helm/helm_dependency_update/
[^2]: https://helm.sh/docs/helm/helm_dependency_build/

Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-11-14 18:18:32 +01:00