Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to watch multiple namespaces #505

Closed
2 tasks done
ghost opened this issue Jun 23, 2024 · 1 comment
Closed
2 tasks done

Possibility to watch multiple namespaces #505

ghost opened this issue Jun 23, 2024 · 1 comment
Labels
kind/enhancement Categorizes issue or PR as related to an improvement.

Comments

@ghost
Copy link

ghost commented Jun 23, 2024

Preflight Checklist

  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I agree to follow the Code of Conduct.

Problem Description

I tried to watch multiple namespace by comma separating them, but no one of these namespaces are watched

Proposed Solution

allow watch namespace to have comma separated namespaces?

Alternatives Considered

No response

Additional Information

No response

Thanks a lot in advance :)

@ghost ghost added the kind/enhancement Categorizes issue or PR as related to an improvement. label Jun 23, 2024
@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR that has become stale and will be auto-closed. label Aug 25, 2024
@bank-vaults bank-vaults deleted a comment from github-actions bot Aug 25, 2024
@csatib02 csatib02 removed the lifecycle/stale Denotes an issue or PR that has become stale and will be auto-closed. label Aug 25, 2024
@csatib02
Copy link
Member

Hey,

After careful consideration, we have decided not to implement support for comma-separated namespaces in the WATCH_NAMESPACE environment variable. The current design expects WATCH_NAMESPACE to contain either a single namespace or be left empty to watch all namespaces. This is intentional, as supporting comma-separated values would introduce additional complexity and potential issues in the operator's behavior.

As a workaround, you can deploy multiple instances of the operator, each configured to watch a single specific namespace. Alternatively, setting WATCH_NAMESPACE to an empty value allows the operator to watch all namespaces, which might suit your use case depending on your requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Categorizes issue or PR as related to an improvement.
Projects
None yet
Development

No branches or pull requests

1 participant