removing goroutine
@@ -378,9 +378,9 @@ func (ws *WebhookServer) ResourceMutation(request *v1beta1.AdmissionRequest) *v1
func (ws *WebhookServer) resourceValidation(request *v1beta1.AdmissionRequest) *v1beta1.AdmissionResponse {
logger := ws.log.WithName("Validate").WithValues("uid", request.UID, "kind", request.Kind.Kind, "namespace", request.Namespace, "name", request.Name, "operation", request.Operation)
if request.Operation == v1beta1.Delete {
- go ws.handleDelete(request)
+ ws.handleDelete(request)
} else if request.Operation == v1beta1.Update {
- go ws.handleUpdate(request)
+ ws.handleUpdate(request)
}
if !ws.supportMutateValidate {
