Conftest Policy Tester
Installation
Basic usage or getting-started notes:
- Here's a quick example. Save the following as policy/deployment.rego:
- Assuming you have a Kubernetes deployment in deployment.yaml you can run Conftest like so:
- Source: https://github.com/open-policy-agent/conftest
- Extracted from upstream docs: https://raw.githubusercontent.com/open-policy-agent/conftest/HEAD/README.md