Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-31440

microprofile-reactive-messaging-kafka cleanup instruction is deleting too much

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • EAP-XP-6.0.0.GA
    • None
    • Quickstarts
    • None

      latest README instructions for microprofile-reactive-messaging-kafka quickstart:  

      To uninstall the AMQ Streams operator (global installation):
      ----
      $ oc delete -f ./charts/kafka-topic.yaml --wait --timeout=10m0s
      $ oc delete -f ./charts/kafka-on-openshift.yaml --wait --timeout=10m0s
      $ oc delete -f ./charts/amq-operator-on-openshift.yaml --wait --timeout=10m0s
      $ oc delete csv --all -n openshift-operators
      ----
      

      oc delete csv --all -n openshift-operators is problematic as openshift-operators is shared namespace, possibly already containing many more operators independent to our quickstart but the command will delete CSV for all of them and not just for the AMQ Streams operator we want to remove.

      So the instruction is potentially dangerous for users.

              emartins@redhat.com Eduardo Martins
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: