k8wiz
Kubernetes
Hard
Security

What is the purpose of a Kubernetes MutatingWebhookConfiguration?

Select your answer:

Show answer and explanation

Answer: To modify Kubernetes resources before they are stored

Explanation

MutatingWebhookConfiguration is an admission controller that intercepts API requests and can modify them before they are persisted. This allows for automatic modifications like adding sidecar containers, setting default values, or injecting configuration based on custom logic implemented in an external webhook.