Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Support watching multiple namespaces #60

Closed
leochr opened this issue Aug 21, 2019 · 5 comments
Closed

Support watching multiple namespaces #60

leochr opened this issue Aug 21, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@leochr
Copy link
Contributor

leochr commented Aug 21, 2019

We currently support watching a single namespace, own namespace and all namespaces in the cluster.

Adding support to watch a set of namespaces will benefit users who want to watch more than one namespace, but not the entire cluster.

@arturdzm arturdzm added the enhancement New feature or request label Aug 21, 2019
@arthurdm
Copy link
Member

I have confirmed this is needed for our next release, to support multiple kabanero configurations.

@navidsh navidsh self-assigned this Sep 11, 2019
@navidsh navidsh added this to the October Release milestone Sep 18, 2019
@navidsh
Copy link
Member

navidsh commented Sep 18, 2019

Next version of Operator SDK will have support for watching multiple namespaces out of the box. Until it releases a new version, we can use a workaround for this.

To get around this, the operator can watch all namespaces, and filter events using the namespaces it's watching.

The operator will read a comma-separated list of namespaces from WATCH_NAMESPACE env variable.

@arthurdm
Copy link
Member

@navidsh
Copy link
Member

navidsh commented Sep 19, 2019

Good catch @arthurdm! I'll update that.

@navidsh
Copy link
Member

navidsh commented Sep 19, 2019

Delivered. Closing.

@navidsh navidsh closed this as completed Sep 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants