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

Create RoleBinding will trigger Admission Webhook Warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.z
    • 4.16, 4.17
    • Management Console
    • None
    • Moderate
    • Yes
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, the Display Admission Webhook warning implementation resulted in problems with invalid code. With this release, the unnecessary warning message is removed, preventing problems with invalid code.
      ====
      * 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, the Display Admission Webhook warning implementation resulted in problems with invalid code. With this release, the unnecessary warning message is removed, preventing problems with invalid code. ==== * 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

      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:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: