diff --git a/main.go b/main.go index 528f1b5cd..a95f367e9 100644 --- a/main.go +++ b/main.go @@ -144,6 +144,7 @@ func main() { Handler: &podwh.WebhookServer{ Client: mgr.GetClient(), SliceInfoClient: podwh.NewWebhookClient(), + Decoder: admission.NewDecoder(mgr.GetScheme()), }, }) }