Skip to content

Commit

Permalink
Use correct BrokerClass for NamespacedBroker SA filter
Browse files Browse the repository at this point in the history
Co-authored-by: Calum Murray <cmurray@redhat.com>
  • Loading branch information
creydr and Cali0707 authored May 3, 2024
1 parent d56d0e5 commit 73f4b86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func NewNamespacedController(ctx context.Context, watcher configmap.Watcher, con

// Reconciler Trigger when the OIDC service account changes
oidcServiceaccountInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
FilterFunc: filterOIDCServiceAccounts(triggerInformer.Lister(), brokerInformer.Lister(), kafka.BrokerClass, FinalizerName),
FilterFunc: filterOIDCServiceAccounts(triggerInformer.Lister(), brokerInformer.Lister(), kafka.NamespacedBrokerClass, FinalizerName),
Handler: controller.HandleAll(impl.EnqueueControllerOf),
})

Expand Down

0 comments on commit 73f4b86

Please sign in to comment.