Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-30228

Fine grained rbac - missing k8s resources from virt roles

XMLWordPrintable

    • Important
    • Approved
    • None

      Description of problem:

      CNV UI is leveraging ACM Search for certain k8s virt related resources. These can be seen here:

      https://github.com/stolostron/console/blob/main/frontend/packages/multicluster-sdk/src/internal/search/convertSearchItemToResource.ts

      It was found that there are 2 resources missing from the virt ClusterRoles:

      1. ClusterOperator (config.openshift.io)

      2. StorageClass (storage.k8s.io)

      These need to be added to the ACM virt ClusterRoles so that ACM Search can return them to CNV UI.

      Actual results:

      Missing virt resources that CNV UI is utilizing from ACM Search

      Expected results:

      Virt roles need to cover all k8s resources that CNV UI is requesting

      Additional info:

              rh-ee-mshort Matthew Short
              rh-ee-mshort Matthew Short
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: