Pre-commit used to merge the HELM values to be able to pass only one file to HELM.
Available options:
--helmfileUnix style pathname pattern expansion used to find the Helmfile files, default is**/helmfile-base.yaml.--pre-commitRun pre-commit hooks to call on the modified files (comma separated).--pre-commit-skipSkip the pre-commit hooks, default ismerge-helm-values.--no-pre-commitDo not run pre-commit hooks.--ignore-folderFolder that should be ignored, can be used multiple times.
If you use the --no-pre-commit option, be sure that the files are not modified by the pre-commit hooks.
The hook will not override the values.yaml file, if there is no content change (ignoring the comments), this is disable when the --no-pre-commit option is used.
repos:
- repo: https://github.com/camptocamp/pre-commit-merge-helm-values
rev: <version> # Use the ref you want to point at
hooks:
- id: merge-helm-values