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

[Core] New Filter: LabelSelector #223

Open
fjogeleit opened this issue Oct 28, 2022 · 2 comments
Open

[Core] New Filter: LabelSelector #223

fjogeleit opened this issue Oct 28, 2022 · 2 comments
Labels
consideration possible new features Core Policy Reporter Core Application enhancement New feature or request

Comments

@fjogeleit
Copy link
Member

fjogeleit commented Oct 28, 2022

Currently it's possible to route resources to targets / channels based on namespace, source, policy and priorities.

For most cases this works fine but there are situations where a more fine grained / flexibel approach is needed. To achieve this I would like to add an labelSelector filter to route a result based on the labels of the related resource.

Requirements:

  • Read permissions for the associated resources. (Resource labels are not part of the PolicyReport and must be fetched separately).
@fjogeleit fjogeleit added enhancement New feature or request Core Policy Reporter Core Application consideration possible new features labels Oct 28, 2022
@bkrein-vertex
Copy link

Any chance of this getting picked up & implemented? I'd really like to not have to explicitly list namespaces for channel filters & instead just use a label selector for the group of namespaces.

@fjogeleit
Copy link
Member Author

fjogeleit commented Apr 4, 2024

Hey, this relates to filter based on resource / report labels.

Routing via NS labels is available in the current alpha release of Policy Reporter v3.

See #382 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consideration possible new features Core Policy Reporter Core Application enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants