diff --git a/bitfusion_device_plugin/webhook/pkg/webhook/webhook.go b/bitfusion_device_plugin/webhook/pkg/webhook/webhook.go index 5b61b89..b1f32c1 100644 --- a/bitfusion_device_plugin/webhook/pkg/webhook/webhook.go +++ b/bitfusion_device_plugin/webhook/pkg/webhook/webhook.go @@ -155,6 +155,8 @@ func (whsvr *WebhookServer) Serve(w http.ResponseWriter, r *http.Request) { admissionReview.Response = admissionResponse if ar.Request != nil { admissionReview.Response.UID = ar.Request.UID + admissionReview.Kind = ar.Kind + admissionReview.APIVersion = ar.APIVersion } }