From d05ebdb921ba7efd129eebaca701b9374d169312 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Tue, 12 Sep 2023 09:18:55 -0400 Subject: [PATCH] Fix TriggerWebhook name Signed-off-by: Scott Andrews --- controllers/webhook_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/webhook_controller.go b/controllers/webhook_controller.go index 68ef52d0..caf2f161 100644 --- a/controllers/webhook_controller.go +++ b/controllers/webhook_controller.go @@ -202,7 +202,7 @@ func TriggerReconciler(c reconcilers.Config, name string, accessChecker rbac.Acc func TriggerWebhook(c reconcilers.Config, serviceBindingController controller.Controller) *reconcilers.AdmissionWebhookAdapter[*unstructured.Unstructured] { return &reconcilers.AdmissionWebhookAdapter[*unstructured.Unstructured]{ - Name: "AdmissionProjectorWebhook", + Name: "TriggerWebhook", Reconciler: &reconcilers.SyncReconciler[*unstructured.Unstructured]{ Sync: func(ctx context.Context, trigger *unstructured.Unstructured) error { log := logr.FromContextOrDiscard(ctx)