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

Create RoleBinding will trigger Admission Webhook Warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • 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
    • Done

      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
              rhn-support-yapei YaDan Pei
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: