-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support DELETE operations #144
Comments
nil object may create problems for the TargetHandler... either its golang code, its Rego, or both. I recommend tracing through that logic for any issues. |
yea we can't evaluate correctly without |
object is the value of the resultant object, which for DELETE is nothing. The original object is under oldObject |
both object and oldObject are null in AdmissionRequest |
Looks like this issue kubernetes/kubernetes#66536 was fixed by kubernetes/kubernetes#76346 in k8s v1.15 From 1.15 docs:
|
nice, I like that they fixed that |
after updating the validation webhook config,
webhook returned this error
It seems
AdmissionRequest
'sobject
is nil whenoperation: DELETE
The text was updated successfully, but these errors were encountered: