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

Labels needed to be added for policy-virt-clusterroles in order to perform end to end ACM UI RBAC scenario

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Low
    • None

      Description of problem: Labels are needed to be added for clusterroles under policy-virt-clusterroles in order to perform VM end to end scenario. Without these labels, the UI wont be able to see any clusterroles.

      The label needed to be added for the clusterroles is

      rbac.open-cluster-management.io/filter=vm-clusterroles
      Note - not sure if these labels should only be added to relevant clusterroles for the acm workflow or all the clusterroles policy is deploying

      Yaml example

      kind: ClusterRole
      apiVersion: rbac.authorization.k8s.io/v1
      metadata:
        name: 'kubevirt.io:admin'
        uid: 8fd79413-30ce-4acc-89a5-d6157ceec4d6
        resourceVersion: '14135631'
        creationTimestamp: '2025-06-10T16:46:01Z'
        labels:
          rbac.open-cluster-management.io/filter: vm-clusterroles 

              gparvin-redhat Gus Parvin
              kurwang@redhat.com Kurtis Wang
              Derek Ho Derek Ho
              ACM GRC & Gatekeeper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: