From d027ab7349ce27ba0e612dc4ce98add9443d7af1 Mon Sep 17 00:00:00 2001 From: Avinash Patnala Date: Mon, 23 Sep 2024 21:42:28 +0000 Subject: [PATCH] pass namespace to reconcile request of config controller Signed-off-by: Avinash Patnala --- pkg/controller/configstatus/configstatus_controller.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/controller/configstatus/configstatus_controller.go b/pkg/controller/configstatus/configstatus_controller.go index a59f731901c..5ba50e1570d 100644 --- a/pkg/controller/configstatus/configstatus_controller.go +++ b/pkg/controller/configstatus/configstatus_controller.go @@ -93,7 +93,11 @@ func PodStatusToConfigMapper(selfOnly bool) handler.TypedMapFunc[*v1beta1.Config return nil } } - return []reconcile.Request{{NamespacedName: types.NamespacedName{Name: name}}} + + return []reconcile.Request{{NamespacedName: types.NamespacedName{ + Name: name, + Namespace: util.GetNamespace(), + }}} } }