cyclops-ui / cyclops

customizable UI for Kubernetes workloads 👁️
https://cyclops-ui.com
Apache License 2.0
582 stars 60 forks source link

Scope cyclops controller to a namespace #345

Open petar-cvit opened 2 weeks ago

petar-cvit commented 2 weeks ago

Is your feature request related to a problem? Please describe. Kubernetes controllers listen to changes on certain resource types. In the case of Cyclops, the controller is listening to changes on the Module resource. Currently, modules can be deployed to any namespace, but the controller should only take those deployed to the cyclops namespace.

The goal of the issue is to scope the controller just to a single namespace. By default it should be cyclops, but a user should be able to configure it using an environment variable.

You can check how to scope a controller to a single namespace here. Also, the definition of our controller options is here.

shubhamch71 commented 2 weeks ago

Hii , I would like to work on this !!! /assign

petar-cvit commented 2 weeks ago

Hey @shubhamch71, sure!