kubewarden / cel-policy

A policy that can run CEL expressions
Apache License 2.0
3 stars 5 forks source link

Feature Request: Add authorizer kubernetes capabilities #6

Open fabriziosestito opened 8 months ago

fabriziosestito commented 8 months ago

To be compliant with the ValidatingAdmissionPolicy CEL environment, we need to add the authorizer library.

Acceptance criteria

Solution you'd like

It is not possible to use directly the library from the Kubernetes apiserver, since it uses client-go. We need instead to create a new library with the same interface as the k8s one, that uses kw context-aware/callback capabilities under the hood.