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

[🙏] Selectively add namespaces instead of excludedNamespaces #1445

Open
lukibahr opened this issue Jan 16, 2024 · 1 comment
Open

[🙏] Selectively add namespaces instead of excludedNamespaces #1445

lukibahr opened this issue Jan 16, 2024 · 1 comment

Comments

@lukibahr
Copy link

Describe the user need
Instead of excluding namespaces via the excludedNamespaces: array, we would like to selectively add namespaces to a list, or choose namespaces by using label selectors, e.g.:

# Add selected namespaces
includedNamespaces:
  matchLabels: 
    key: value
#or 
includedNamespaces: 
  - namespaceA
  - namespaceB

Describe expected behaviour

snyk-monitor uses the exact list or selection of namespaces provided in the includedNamespaces field.

Additional context

Probably, the changes in the helm chart will not be that much, however, I don't know, if there are code-changes to be done.

@johnjelinek
Copy link

can we get a regex for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants