policy-server icon indicating copy to clipboard operation
policy-server copied to clipboard

Check for policies' `protocol_version` and error if protocol version is not supported.

Open viccuad opened this issue 6 months ago • 0 comments

Acceptance criteria

Policy server should consume policy_evaluator::evaluator::PolicyEvaluator::protocol_version(), and error if the policy protocol version is not supported.

See kwctl for an example: https://github.com/kubewarden/kwctl/blob/23c4eae60d5a687bc64382b2cae3cd725e529637/src/backend.rs#L52-L61

viccuad avatar Jan 29 '24 10:01 viccuad