diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index fcf75e718..3b75cd129 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -115,7 +115,7 @@ func main() { SecretName: "webhook-certs", }) - sharedmain.MainWithContext(ctx, "webhook", + sharedmain.WebhookMainWithContext(ctx, "webhook", certificates.NewController, NewDefaultingAdmissionController, NewValidationAdmissionController,