What can a mutating admission webhook do that a validating one cannot?
- Reject requests that break policy
- Edit an object before it is stored
- Restart pods that are already running
- Move running pods to another node
Mutating webhooks run first and may patch the incoming object, for example to inject a sidecar; validating webhooks can only accept or reject. Neither touches pods that already exist.
Play DevOps ▸