|
1 year ago | |
---|---|---|
kube_manifest_lint | 1 year ago | |
tests | 1 year ago | |
.flake8 | 1 year ago | |
.gitignore | 1 year ago | |
.pre-commit-config.yaml | 1 year ago | |
.pre-commit-hooks.yaml | 1 year ago | |
.travis.yml | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
poetry.lock | 1 year ago | |
pyproject.toml | 1 year ago | |
vendor-schemas.py | 1 year ago |
Validate Kubernetes YAML manifests against JSON schema. It will use the Kubernetes v1.17 schemas for validation by default.
Usage:
pip3 install kube-manifest-lint
kube-manifest-lint my-deployment.yaml
You can use this tool as a pre-commit in your git repository. Example .pre-commit-config.yaml
:
repos:
- repo: https://codeberg.org/hjacobs/kube-manifest-lint
rev: "0.2.0"
hooks:
- id: kube-manifest-lint