Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-18473 Create UI for RBAC for VMs
  3. ACM-20546

Create UI for RBAC for VMs - Add default Permissions to console chart

XMLWordPrintable

      After investigating how to connect ClusterPermission resource on the frontend side, a new ClusterRole and ClusterRoleBinding couple is required.

      apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRole
      metadata:
        name: clusterpermissions_console_mce
      rules:
      - apiGroups: ["rbac.open-cluster-management.io"]
        resources: ["clusterpermissions"]
        verbs: ["list","get","watch"]
      ---
      apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        name: clusterpermissions_console_mce
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: clusterpermissions_console_mce
      subjects:
        - kind: ServiceAccount
          name: console-mce
          namespace: multicluster-engine
      

      The change should be applied at:

      See more details at https://github.com/stolostron/console/blob/main/docs/RESOURCES.md

      See discussion at https://redhat-internal.slack.com/archives/C08M84Y1X3R/p1746533167635299?thread_ts=1744881401.687789&cid=C08M84Y1X3R

      Edit: the change will only need to be applied in the backplane-operator repo as the console-chart repo is archived and not used

              kurwang@redhat.com Kurtis Wang
              emingora Enrique Mingorance Cano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: