Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto authored and openshift-cherrypick-robot committed Jul 24, 2024
1 parent ac46e4d commit 9c481d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions knative-operator/cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func main() {

decoder := admission.NewDecoder(mgr.GetScheme())

// This call adds the server to the manager as a Runnable
_ = mgr.GetWebhookServer()
// Serving Webhooks
hookServer.Register("/mutate-knativeservings", &webhook.Admission{Handler: knativeserving.NewConfigurator(decoder)})
Expand Down

0 comments on commit 9c481d3

Please sign in to comment.