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

feat(api-server): contain matches on name and tags #5606

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

lahabana
Copy link
Contributor

@lahabana lahabana commented Jan 9, 2023

The api now takes ?name to filter on subset of the dpp name it also works on subset for tag value

Signed-off-by: Charly Molter charly.molter@konghq.com

Checklist prior to review

  • Link to docs PR or issue --
  • Link to UI issue or PR --
  • Is the issue worked on linked? --
  • The PR does not hardcode values that might break projects that depend on kuma (e.g. "kumahq" as a image registry) --
  • The PR will work for both Linux and Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Unit Tests --
  • E2E Tests --
  • Manual Universal Tests --
  • Manual Kubernetes Tests --
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

The api now takes `?name` to filter on subset of the dpp name
it also works on subset for tag value

Signed-off-by: Charly Molter <charly.molter@konghq.com>
@lahabana lahabana requested review from a team, michaelbeaumont and lukidzi and removed request for a team January 9, 2023 13:12
Copy link
Contributor

@michaelbeaumont michaelbeaumont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if I understood correctly the changes are that namePrefix is no longer needed because name works the same way and that both name and tags work together?

pkg/core/policy/dataplane_matcher.go Show resolved Hide resolved
@lahabana lahabana merged commit e532510 into kumahq:master Jan 9, 2023
bartsmykla pushed a commit to bartsmykla/kuma that referenced this pull request Jan 14, 2023
The api now takes `?name` to filter on subset of the dpp name
it also works on subset for tag value

Signed-off-by: Charly Molter <charly.molter@konghq.com>
Signed-off-by: Bart Smykla <bartek@smykla.com>
@lahabana lahabana deleted the renameFilters branch May 2, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants