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

"contentSecurityPolicy" spec not supported by ConsolePlugin CRD (in production)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.18.0
    • Management Console
    • None
    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      On "OCP 4.18.0-0.nightly-2024-12-14-152515" tried adding the spec but it was removed on reconcile with an "Admission Webhook" warning popup:
      ``` ConsolePlugin odf-console violates policy 299 - "unknown field \"spec.contentSecurityPolicy)"'' ```

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Try adding "contentSecurityPolicy" to any ConsolePlugin CR.
          2.
          3.
          

      Actual results:

          Spec is getting removed.

      Expected results:

          Spec should be supported by ConsolePlugin "v1".

      Additional info:

          Refer https://redhat-internal.slack.com/archives/C011BL0FEKZ/p1734339650501379 for more details.

              rh-ee-jonjacks Jon Jackson
              skatiyar@redhat.com Sanjal Katiyar
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: