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

Cannot filter by tags and name on Kubernetes #5512

Closed
jakubdyszkiewicz opened this issue Dec 15, 2022 · 1 comment · Fixed by #5517
Closed

Cannot filter by tags and name on Kubernetes #5512

jakubdyszkiewicz opened this issue Dec 15, 2022 · 1 comment · Fixed by #5517
Labels
kind/feature New feature triage/pending This issue will be looked at on the next triage meeting

Comments

@jakubdyszkiewicz
Copy link
Contributor

Description

If you filter by tags + namePrefix, only tags filter is applied.

The bug is only visible with Kubernetes store.

@jakubdyszkiewicz jakubdyszkiewicz added triage/pending This issue will be looked at on the next triage meeting kind/feature New feature labels Dec 15, 2022
@kleinfreund
Copy link
Contributor

kleinfreund commented Dec 15, 2022

The issue is unrelated to the tag parameter. namePrefix doesn’t work without it either.

In a Kubernetes environment with 3 DPPs (of which only one has a name starting with redis-), the following requests return respectively 2 (2 matching the tag) and 3 responses.

Example requests:

curl 'http://localhost:5681/meshes/default/dataplanes+insights?namePrefix=redis-&tag=kuma.io%2Fprotocol%3Atcp'
curl 'http://localhost:5681/meshes/default/dataplanes+insights?namePrefix=redis-'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature triage/pending This issue will be looked at on the next triage meeting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants