kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
191 stars 33 forks source link

Implement validation webhooks for `ClusterAdmissionPolicy` #69

Closed flavio closed 3 years ago

flavio commented 3 years ago

We must provide a mutation webhook for the ClusterAdmissionPolicy resource.

The webhook will implement the following validations:

The webhook will implement the following mutations:

Note well: it's totally fine to create a ClusterAdmissionPolicy object that is scheduled on a non-existing PolicyServer.

raulcabello commented 3 years ago

I just updated the card to set the policy status to unscheduled more info https://github.com/kubewarden/kubewarden-controller/issues/72

viccuad commented 3 years ago

Closed by https://github.com/kubewarden/kubewarden-controller/pull/76.