Admission Webhooks Latest
Admission webhooks configurations guidance
Validation Enforcement
By default, the admission webhooks are registered with failurePolicy: Ignore
, this won’t block the resources creation/update when the admission controller is not available. To ensure that the validation is always required and perform validation, setting failurePolicy
to Fail
is required.
In particular, the admission webhooks for HPA ownership validation can be skipped by setting the annotation validations.keda.sh/hpa-ownership
to "false"
. Be cautious when doing so as it exposes the system to potential risks.