Admission response codes are incorrect #407
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
controller-runtime/pkg/webhook/admission/webhook.go
Line 72 in 856708d
The review.response.status.code should be >= 400 if response.Allowed == false (if response.Allowed == true, the review.response.status is ignored)
xref kubernetes/kubernetes#76984 (comment)
xref open-policy-agent/gatekeeper#97
xref kubernetes/kubernetes#77022
The text was updated successfully, but these errors were encountered: