canonical / admission-webhook-operator

Admission Webhook Operator
Apache License 2.0
1 stars 4 forks source link

Rescope admission-webhook's mutating webhook #18

Closed ca-scribner closed 2 years ago

ca-scribner commented 2 years ago

See #15 for more detail

This PR changes the scope of the mutatingwebhook created by admission-webhook:

This has the beneficial side effect that, if the admission-webhook workload is broken, it will not block all pods in the entire kubernetes cluster from creating, as has been reported in the past. It will however still block all kubeflow user pods in user namespaces

This change was manually tested using the procedure described in #15. Automated tests will be added later as a separate task