Image filtering by labels

  • Related issues: #2319 [FEATURE] Image filtering by labels

Category:

  • Image

Verification Steps

  1. Upload several images and add related label
  2. Go to the image list page
  3. Add filter according to test plan 1
  4. Go to VM creation page
  5. Check the image list and search by name
  6. Import Harvester in Rancher
  7. Go to cluster management page
  8. Create a RKE2 cluster
  9. Check the image list and search by name

Expected Results

Test Result 1:

The image list page can be filtered by label in the following cases

  1. All image list without filter, image list by created time image

  2. One key, no value image

  3. One key with value image

  4. Two keys, no value image

  5. Two keys, one key have no value image

  6. Two keys with values image

Test Result 2:

In the VM creation page,

  1. Image are lists according to the added time image

  2. Can search specific image by name image

Test Result 3:

In the provision RKE2 cluster page,

  1. Image are lists according to the added time image

  2. Can search specific image by name image