Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to gator CLI for testing #60

Open
phillebaba opened this issue Feb 24, 2022 · 1 comment
Open

Switch to gator CLI for testing #60

phillebaba opened this issue Feb 24, 2022 · 1 comment

Comments

@phillebaba
Copy link
Contributor

The Gatekeeper project has released a CLI called gator which enables testing of contraint templates.
https://open-policy-agent.github.io/gatekeeper/website/docs/gator

The tests are simpler than the existing rego tests as they work by passing manifests that are either allowed or disallowed. Currently the gator cli does not support testing of mutations, but neither does our rego tests. I have pushed the branch feature/gator-test-suite which contains an example of how this can be implemented.

Just wanted to check how everyone else feel about changing.

@simongottschlag
Copy link
Member

+1 for using the same as them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants