Git hooks to integrate with pre-commit.
Prevent deprecated kubernetes APIs on helm charts using pluto.
This pre-commit hook can be added into the .pre-commit-config.yaml
file like this:
- repo: https://github.com/thatmlopsguy/pre-commit-hooks
rev: v0.0.3
hooks:
- id: helm-pluto-chart-check
args: ["--charts", "tests/example-charts"]
The hook uses helm template
internally and passes its output to the pluto
usage: helm-pluto.py [-h] [--charts CHARTS]
Check Helm charts with Pluto
options:
-h, --help show this help message and exit
--charts CHARTS Path to the directory containing Helm charts
Runs kube-score against a Helm charts directory.
This pre-commit hook can be added into the .pre-commit-config.yaml
file like this:
- repo: https://github.com/thatmlopsguy/pre-commit-hooks
rev: v0.0.3
hooks:
- id: kubectl-score-chart-check
args: ["--charts", "tests/example-charts"]
The hook uses helm template
internally and passes its output to the kube-score
usage: kube-score.py [-h] [--charts CHARTS]
Check Helm charts with kube-score
options:
-h, --help show this help message and exit
--charts CHARTS Path to the directory containing Helm charts
MIT