aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor/pkg/controller/resourcebundlestate/controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor/pkg/controller/resourcebundlestate/controller.go')
-rw-r--r--src/monitor/pkg/controller/resourcebundlestate/controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor/pkg/controller/resourcebundlestate/controller.go b/src/monitor/pkg/controller/resourcebundlestate/controller.go
index 5351ea99..c2695552 100644
--- a/src/monitor/pkg/controller/resourcebundlestate/controller.go
+++ b/src/monitor/pkg/controller/resourcebundlestate/controller.go
@@ -365,7 +365,7 @@ func (r *reconciler) updateCsrs(rbstate *v1alpha1.ResourceBundleState,
// Update the CR with the csrs tracked
csrList := &certsapi.CertificateSigningRequestList{}
- err := listResources(r.client, rbstate.Namespace, selectors, csrList)
+ err := listResources(r.client, "", selectors, csrList)
if err != nil {
log.Printf("Failed to list csrs: %v", err)
return err