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

No refresh popover after adding CSP directive to the ConsolePlugin CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.0
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      After adding any directive to the ConsolePlugin CR a hard refresh is required for the changes to actually reflect, but we are not getting a refresh popover for this.    

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Enable feature gate (CSP feature is behind the FG in 4.18).
          2. Add "DefaultSrc" directive to any ConsolePlugin CR.
          3.
          

      Actual results:

          No refresh popover getting displayed, we need to manually refresh for the changes to get reflected.

      Expected results:

          No manual refresh. An automatic popover should be rendered.

      Additional info:

          ex: https://github.com/openshift/enhancements/blob/master/enhancements/console/dynamic-plugins.md#example

              jhadvig@redhat.com Jakub Hadvig
              skatiyar@redhat.com Sanjal Katiyar
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: