Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-528

Confirm k8s context with a prompt for deleteAll.bash

    Details

    • Type: Story
    • Status: Closed
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Beijing Release
    • Labels:

      Description

      Today if a user runs deleteAll.bash -n onap script it simply deletes the deployment.

      This is an issue if the user has incorrect context and delete of entire environment happens silently. Get a confirmation from the user before deleting deployment.

       for automated deployments use

      ./deleteAll.bash -n onap -y

       for manual deployments use

       

      ./deleteAll.bash -n onap
      You are about to delete deployment from: preprod
      To continue enter context name: incorrecttest

      Your response does not match current context! Skipping delete ...
      munirs-mbp:oneclick mahmad$ ./deleteAll.bash -n onap
      You are about to delete deployment from: preprod
      To continue enter context name: preprod

                        • Cleaning up ONAP:

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                mahmad Munir Ahmad
                Reporter:
                mahmad Munir Ahmad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: