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:
-
Extracted from upstream docs: https://raw.githubusercontent.com/open-policy-agent/conftest/HEAD/README.md