We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf050b commit 70b6129Copy full SHA for 70b6129
dist/bin/kctf-cluster
@@ -721,6 +721,11 @@ function kctf_cluster_start {
721
}
722
723
function kctf_cluster_stop_gce {
724
+ read -p "Do you really want to delete the GKE cluster? If you are sure type the cluster name (${CLUSTER_NAME}): "
725
+ if [[ ! "${REPLY}" = "${CLUSTER_NAME}" ]]
726
+ then
727
+ return 1
728
+ fi
729
_kctf_log "deleting all challenges so that load balancers etc can be cleaned up"
730
CHALLENGES=$("${KCTF_BIN}/kubectl" get challenge --all-namespaces -o=jsonpath='{range .items[*]}{@.metadata.namespace}{"/"}{@.metadata.name}{" "}{end}')
731
if [[ ! -z "${CHALLENGES}" ]]; then
0 commit comments