The Helm chart for the VPA project resides within this folder. If making changes to the Helm charts, make sure you follow the instructions below for the pre-commit checks.
This Helm repository has pre-commit hooks for Helm specific needs:
- Makes sure all charts pass a
helm lintcheck. - Updates the
README.mdfile of all charts based on comments in that chart'svalues.yamlfile.
The binary for pre-commit can be installed via Homebrew:
$ brew install pre-commitFor those without Homebrew, Pre-commit has other installation methods available.
After the pre-commit binary is installed, go to this repository's directory, and run the following command to install the git hook:
$ pre-commit installThe pre-commit hooks themselves call binaries under the hood; they can be installed via the instructions found here.
Note: You should ensure that whichever installation method you are using you either install the same version of helm-docs as used in the PR workflow to ensure your PR passes CI checks or update the version used by the workflow to match.