diff --git a/cyclops-ctrl/api/v1alpha1/client/modules.go b/cyclops-ctrl/api/v1alpha1/client/modules.go index 85937b0f..823673f4 100644 --- a/cyclops-ctrl/api/v1alpha1/client/modules.go +++ b/cyclops-ctrl/api/v1alpha1/client/modules.go @@ -32,6 +32,7 @@ func (c *moduleClient) List(opts metav1.ListOptions) ([]cyclopsv1alpha1.Module, result := cyclopsv1alpha1.ModuleList{} err := c.restClient. Get(). + Namespace(c.ns). Resource("modules"). Do(context.Background()). Into(&result)