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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.15.z
    • 4.13, 4.12, 4.14, 4.15, 4.16
    • Dev Console
    • None
    • ODC Sprint 3263, ODC Sprint 3264
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-41709. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-39109. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-38011. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: