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: Add list all functionality #489

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

Callisto13
Copy link
Member

This removes the requirement that a call to GetAllMicroVM must have a
namespace argument in the request. We do filtering on the Repo, so it is
not harmful to have all params be optional.

If a call to GetAllMicroVM is made without namespace or name, then all
mvms on the host will be returned.

If a call to GetAllMicroVM is made with just name, then all mvms
matching that name in any namespace will be returned.

If a call to to GetAllMicroVM is made with just namespace, then all mvms
under that namespace will be returned.

We can consider RBAC implications when we get to that.

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Callisto13 Callisto13 added the kind/feature New feature or request label Jul 21, 2022
@Callisto13 Callisto13 linked an issue Jul 21, 2022 that may be closed by this pull request
This removes the requirement that a call to GetAllMicroVM must have a
namespace argument in the request. We do filtering on the Repo, so it is
not harmful to have all params be optional.

If a call to GetAllMicroVM is made without namespace or name, then all
mvms on the host will be returned.

If a call to GetAllMicroVM is made with just name, then all mvms
matching that name in any namespace will be returned.

If a call to to GetAllMicroVM is made with just namespace, then all mvms
under that namespace will be returned.

We can consider RBAC implications when we get to that.
@Callisto13 Callisto13 merged commit 982d429 into liquidmetal-dev:main Jul 22, 2022
@Callisto13 Callisto13 deleted the list-all branch July 22, 2022 13:26
@Callisto13 Callisto13 restored the list-all branch July 29, 2022 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I want to list all mvms in all namespaces
2 participants