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

Uninstall instructions supplied by the CSV creator should be visible no matter the optOut state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.14.0
    • 4.13.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if the `console.openshift.io/disable-operand delete: "true"` and `operator.openshift.io/uninstall-message: "some message"` annotations were used on an operator CSV, the uninstall instructions did not show up in the web console. With this update, the instructions to opt out of the installment are available. (link:https://issues.redhat.com/browse/OCPBUGS-13782[*OCPBUGS-13782*])
      Show
      * Previously, if the `console.openshift.io/disable-operand delete: "true"` and `operator.openshift.io/uninstall-message: "some message"` annotations were used on an operator CSV, the uninstall instructions did not show up in the web console. With this update, the instructions to opt out of the installment are available. (link: https://issues.redhat.com/browse/OCPBUGS-13782 [* OCPBUGS-13782 *])
    • Bug Fix
    • Done

    Description

      Description of problem:

      If both the below mentioned annotations are used on an operator CSV, the uninstall instructions don't show up on the UI.
      - console.openshift.io/disable-operand delete: "true"
      - operator.openshift.io/uninstall-message: "some message"

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

      ➜  $> oc version
      Client Version: 4.12.0
      Kustomize Version: v4.5.7
      Server Version: 4.13.0-rc.5
      Kubernetes Version: v1.26.3+379cd9f
      
      ➜  $> oc get co | grep console
      console                                    4.13.0-rc.5   True        False         False      4h49m
      

      How reproducible:

      Always

      Steps to Reproduce:

      1.Add both the mentioned annotations on an operator CSV. 
      2.Make sure "console.openshift.io/disable-operand delete" is set to "true".
      3.Upon clicking "Uninstall operator", the result can be observed on the pop-up.
      

      Actual results:

      The uninstall pop-up doesn't have the "Message from Operator developer" section.

      Expected results:

      The uninstall instructions should show up under "Message from Operator developer".

      Additional info:

      The two annotations seemed to be linked here, https://github.com/openshift/console/blob/3e0bb0928ce09030bc3340c9639b2a1df9e0a007/frontend/packages/operator-lifecycle-manager/src/components/modals/uninstall-operator-modal.tsx#LL395C10-L395C26

      Attachments

        Issue Links

          Activity

            People

              jhadvig@redhat.com Jakub Hadvig
              thn@redhat.com Thejas N (Inactive)
              Xiyun Zhao Xiyun Zhao
              Olivia Payne Olivia Payne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: