Skip to content

Commit

Permalink
#7 - refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
apanasiuk-el committed Jul 17, 2024
1 parent fca7667 commit 48eacef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/azure-cluster-uninstall-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

CLUSTER_NAME="${1}"
NAMESPACE="${2}"
WAIT_DELETE_CLUSTER="${3:-false}"
WAIT_FOR_CLUSTER_DELETION="${3:-false}"

kubectl --namespace "${NAMESPACE}" delete cluster "${CLUSTER_NAME}" "--wait=${WAIT_DELETE_CLUSTER}"
kubectl --namespace "${NAMESPACE}" delete cluster "${CLUSTER_NAME}" "--wait=${WAIT_FOR_CLUSTER_DELETION}"

0 comments on commit 48eacef

Please sign in to comment.