Skip to content

Switch to gator CLI for testing  #60

@phillebaba

Description

@phillebaba

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions