You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating to version v7.0.9 we received the following error during applying a CR from kubectl:
Validating webhook may not return response.patchType
The error is thrown by the api server. It ensures that a validating webhook doesn't return patch or patchType.
This is caused by the fact that the PatchType property's type was changed from a nullable string to a regular string and by setting a default value for it.
I will prepare a PR.
To reproduce
Create a validation webhook and apply a resource to the k8s cluster.
The text was updated successfully, but these errors were encountered:
…n mutating webhooks (#540)
…in mutating webhooks for modifications. This is a follow up fix for
#536#537.
Co-authored-by: Christoph Bühler <buehler@users.noreply.github.com>
Describe the bug
After migrating to version v7.0.9 we received the following error during applying a CR from kubectl:
Validating webhook may not return response.patchType
The error is thrown by the api server. It ensures that a validating webhook doesn't return
patch
orpatchType
.This is caused by the fact that the PatchType property's type was changed from a nullable string to a regular string and by setting a default value for it.
I will prepare a PR.
To reproduce
Create a validation webhook and apply a resource to the k8s cluster.
The text was updated successfully, but these errors were encountered: