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

Create RoleBinding will trigger Admission Webhook Warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.16, 4.17
    • Management Console
    • None
    • Moderate
    • Yes
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when the `Display Admission Webhook` warning implementation presented issues with some incorrect code. With this update, the unnecessary warning message has been removed. (link:https://issues.redhat.com/browse/OCPBUGS-35940[*OCPBUGS-35940*])
      Show
      * Previously, when the `Display Admission Webhook` warning implementation presented issues with some incorrect code. With this update, the unnecessary warning message has been removed. (link: https://issues.redhat.com/browse/OCPBUGS-35940 [* OCPBUGS-35940 *])
    • Bug Fix
    • In Progress

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

      Description of problem:

      Create any type of RoleBinding will trigger Admission Webhook Warning: xxxx unknown field: subjectRef

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

      4.17.0-0.nightly-2024-06-20-005211

      How reproducible:

      Always

      Steps to Reproduce:

      1. goes to RoleBinding creation page User Management -> RoleBindings -> Create binding or /k8s/cluster/rolebindings/~new
      2. create any type of RoleBinding 

      Actual results:

      2. We can see an warning message on submit:Admission Webhook WarningRoleBinding test-ns-1 violates policy 299 - "unknown field \"subjectRef\""

      Expected results:

      2. no warning message

      Additional info:

       

              cajieh Cyril Ajieh
              openshift-crt-jira-prow OpenShift Prow Bot
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: