Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-38011

Need to allow blank for Project/namespace when setting SA Subject in 'Project access tab'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.13, 4.12, 4.14, 4.15, 4.16
    • Dev Console
    • None
    • ODC Sprint 3261
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      1. Until OCP 4.11, the form with Name and Role in 'Dev Console -> Project -> Project Access tab' seems to have been changed to the form of Subject, Name, and Role through OCPBUGS-7800. Here, when the Subject is ServiceAccount, the Save button is not available unless Project is selected.

      This seems to be a requirement to set Project/namespace.However, in the CLI, RoleBinding objects can be created without namespace with no issues.

      $ oc describe rolebinding.rbac.authorization.k8s.io/monitor
      Name: monitor
      Labels: <none>
      Annotations: <none>
      Role:
      Kind: ClusterRole
      Name: view
      Subjects:
      Kind Name Namespace
      ---- ---- ---------
      ServiceAccount monitor

      This is inconsistent with the dev console, causing confusion for developers and administrators and making things cumbersome for administrators.

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Login to the web console for Developer.
          2. Select Project on the left.
          3. Select 'Project Access' tab.
          4. Add  access -> Select Sevice Account on the dropdown
         

      Actual results:

         Save button is not active when no project is selected      

      Expected results:

          The Save button is enabled even though the Project is not selected, so that it can be created just as it is handled in the CLI.

      Additional info:

          

            rh-ee-lprabhu Lokananda Prabhu
            rhn-support-yoeum Yoonhee Eum
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: