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

Allow filtering with regex/match pattern #3478

Closed
ghost opened this issue Jun 26, 2024 · 1 comment
Closed

Allow filtering with regex/match pattern #3478

ghost opened this issue Jun 26, 2024 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@ghost
Copy link

ghost commented Jun 26, 2024

Feature request

What I want to achieve is that I can search the pipeline run using regex

Use case

Currently, I'm assigning several labels to our pipeline runs. We have quite many pipeline runs for our apps so it would be really difficult to find out which pipeline run. As of now, whenever I want to search for a pipeline run, I have to use the full value of the label to find exactly. What I want to achieve is that I can search the pipeline run using regex (e.g. name:ci-pull-request-*) would return a list of pipeline run that have label is "name" and have value that starts with "ci-pull-request-". Currently when I try to use asterisk to find all, it gets Bad Request like image below.
image

@ghost ghost added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 26, 2024
@AlanGreene
Copy link
Member

Hi @fpt-dylan-datnt305, thanks for the feature request. The Dashboard relies on Kubernetes' APIs to retrieve the resources, and Kubernetes does not support this type of advanced filtering.

Doing the filtering in the Dashboard client doesn't really make sense as we would still need to load the full set of resources before processing.

The only options currently are:

We do have another issue to improve the UI handling of labels for filtering / navigation, see #1428 for details, including one option we were considering for an improved filtering experience.

Closing this as a duplicate of that issue, feel free to comment there with any additional requirements or suggestions not already covered.

@AlanGreene AlanGreene closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant