Skip to content
Snippets Groups Projects
Verified Commit 655e7351 authored by David Hoese's avatar David Hoese
Browse files

Fix PVC delete when needed

parent ba577b67
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ elif [[ $pvc_pending != "Pending" ]]; then
exit 2
else
echo "PVC exists but is pending, deleting then recreating..."
kubectl $EXTRA_ARGS delete $pvc_name || fail "Could not delete existing PVC"
kubectl $EXTRA_ARGS delete pvc $pvc_name || fail "Could not delete existing PVC"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment