Skip to content

Commit ae87961

Browse files
committed
changes from review
1 parent 718660a commit ae87961

File tree

2 files changed

+279
-40
lines changed

2 files changed

+279
-40
lines changed

cmd/thv-operator/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ func setupControllersAndWebhooks(mgr ctrl.Manager) error {
199199
if err := (&mcpv1alpha1.VirtualMCPCompositeToolDefinition{}).SetupWebhookWithManager(mgr); err != nil {
200200
return fmt.Errorf("unable to create webhook VirtualMCPCompositeToolDefinition: %w", err)
201201
}
202+
203+
// Set up MCPExternalAuthConfig webhook
204+
if err := (&mcpv1alpha1.MCPExternalAuthConfig{}).SetupWebhookWithManager(mgr); err != nil {
205+
return fmt.Errorf("unable to create webhook MCPExternalAuthConfig: %w", err)
206+
}
202207
//+kubebuilder:scaffold:builder
203208

204209
return nil

0 commit comments

Comments
 (0)