aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/shell
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/bash/shell')
-rw-r--r--resources/libraries/bash/shell/k8s_utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/shell/k8s_utils.sh b/resources/libraries/bash/shell/k8s_utils.sh
index 55d3d815c9..ac5ecfa287 100644
--- a/resources/libraries/bash/shell/k8s_utils.sh
+++ b/resources/libraries/bash/shell/k8s_utils.sh
@@ -18,7 +18,7 @@ function k8s_utils.destroy {
kubectl delete node $HOSTNAME
# Revert any changes made to this host by 'kubeadm init' or 'kubeadm join'
- sudo kubeadm reset && sudo rm -rf $HOME/.kube || \
+ sudo kubeadm reset --force && sudo rm -rf $HOME/.kube || \
{ echo "Failed to reset kubeadm"; exit 1; }
}