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

Create Policy form blocking valid Role values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • ACM 2.13.0
    • ACM 2.13.0
    • Console
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Sprint 267
    • Moderate
    • ?
    • None

      Description of problem:

      When creating a Policy to enforce a Role object, the Create Policy wizard raises an incorrect validation error if the core apigroup is utilized ("") within a Rule.

      For example the following is flagged by the UI as invalid

                      kind: Role
                      metadata:
                        name: pods-get-only
                      rules:
                        - apiGroups:
                            - ""
                          resources:
                            - pods
                          verbs:
                            - get

      Attaching a screenshot from the UI that shows the issue more clearly.

      Version-Release number of selected component (if applicable):

      2.12.2, confirmed on 2.11.3 as well.

      How reproducible:

      Fully reproducible

      Steps to Reproduce:

      1.  
      2.  
      3.  

      Actual results:

      Expected results:

      Additional info:

        1. image.png
          236 kB
          James Young
        2. Screen Recording 2025-03-10 at 12.57.03 PM.mov
          22.28 MB
          Randy Bruno-Piverger

              rbrunopi Randy Bruno-Piverger
              rhn-support-jayoung James Young
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: