-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
deployspecific to this repository... does not imply product specific issuesspecific to this repository... does not imply product specific issuesenhancementNew feature or requestNew feature or request
Description
Describe the bug
In nuke.sh, there should be a prompt(like the one in uninstall.sh) added to give users a chance to confirm before proceeding to clean up...esp nuke is a destructive script like uninstall.sh
To Reproduce
Steps to reproduce the behavior:
- Run ./nuke.sh
- No prompt and just proceed
Expected behavior
Added a prompt (from uninstall.sh)
echo "***"
printf "\n"
echo "This script will destroy Open Cluster Management from the current OpenShift target cluster:"
printf "\n"
oc cluster-info | head -n 1 | awk '{print $NF}'
printf "\n"
echo "If you would like to proceed with cleanup, type: DESTROY"
read -r DESTROY_YES
if [ "${DESTROY_YES}" != "DESTROY" ]; then
echo "You must type DESTROY to clean up the Hive deployed clusters"
exit 1
fi
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: all applicable
- Browser all applicable
- Snapshot all applicable
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
deployspecific to this repository... does not imply product specific issuesspecific to this repository... does not imply product specific issuesenhancementNew feature or requestNew feature or request