From 723944634790e0d76f10292f9b7dec1d2882ba17 Mon Sep 17 00:00:00 2001 From: Markus Fensterer Date: Mon, 30 Nov 2020 08:30:08 +0100 Subject: [PATCH] no need to watch for nps anymore --- controllers/firewall_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/firewall_controller.go b/controllers/firewall_controller.go index 2b025fbb..89f272f7 100644 --- a/controllers/firewall_controller.go +++ b/controllers/firewall_controller.go @@ -442,7 +442,6 @@ func (r *FirewallReconciler) SetupWithManager(mgr ctrl.Manager) error { // don't trigger a reconcilation for status updates WithEventFilter(predicate.GenerationChangedPredicate{}). Watches(&source.Kind{Type: &firewallv1.ClusterwideNetworkPolicy{}}, triggerFirewallReconcilation). - Watches(&source.Kind{Type: &networking.NetworkPolicy{}}, triggerFirewallReconcilation). Watches(&source.Kind{Type: &corev1.Service{}}, triggerFirewallReconcilation). Complete(r) }