kubewarden / policy-evaluator

Crate used by Kubewarden that is able to evaluate policies with a given input, request to evaluate and settings.
Apache License 2.0
15 stars 9 forks source link

Allow to run Kubewarden, OPA and Gatekeeper policies #21

Closed ereslibre closed 3 years ago

ereslibre commented 3 years ago

Policies can have three execution modes at the current time:

The policy-evaluator should contain logic and constants to both interpret and let kwctl annotate specify the execution mode of a policy.

If no execution mode of a policy is defined, the policy-evaluator can run some heuristics in order to decide what runtime it should use:

flavio commented 3 years ago

Closing in favor of a dedicated issue on policy-server