Skip to content

catalog: add metadata filtering to refine workload selectors#19198

Merged
rboyer merged 2 commits intomainfrom
rboyer/v2-service-filtering
Oct 13, 2023
Merged

catalog: add metadata filtering to refine workload selectors#19198
rboyer merged 2 commits intomainfrom
rboyer/v2-service-filtering

Conversation

@rboyer
Copy link
Member

@rboyer rboyer commented Oct 13, 2023

Description

This implements the Filter field on pbcatalog.WorkloadSelector to be a post-fetch in-memory filter using the https://github.com/hashicorp/go-bexpr expression language to filter resources based on their envelope metadata fields.

All existing usages of WorkloadSelector should be able to make use of the filter.

NET-5696

@rboyer rboyer added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-metrics-test backport/1.17 This release series is no longer active on CE. Use backport/ent/1.17. labels Oct 13, 2023
@rboyer rboyer requested a review from a team as a code owner October 13, 2023 17:01
@rboyer rboyer self-assigned this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.17 This release series is no longer active on CE. Use backport/ent/1.17. pr/no-changelog PR does not need a corresponding .changelog entry pr/no-metrics-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants