Skip to content

[Bug][Images Overview page] "In use" is checked in images whose platform is not cluster's platform #484

@williamshen9999

Description

@williamshen9999

UI ext v0.6.0 + backend v0.10.1

Steps:

  • Install on a platform (ex: linux/amd64)
root@kw-sbom-ui-rke2-214-0316:~# kubectl get node kw-sbom-ui-rke2-214-0316 -o jsonpath='{.status.nodeInfo.architecture}'
amd64
  • Enable workload scan (make sure it scans all ns and all platforms)
  • Wait for the scans to finish
  • Go to "Images" page
  • Find "In use" is checked in some non-amd64 images (you can see the attached picture; arm64, s390x, arm/v7...etc) and it also shows "Image used by 1 workload" message

Expected Behavior:

  • Image can not be deployed on platforms which it doesn't support; so the possibility of "In use" be checked is images of the cluster's platform.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions