We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9090c commit f3dd081Copy full SHA for f3dd081
cluster/scripts/node-backup.sh
@@ -56,7 +56,9 @@ function wait_for_pvc_backup() {
56
break
57
else
58
(( i++ )) && (( i > WAIT_FOR_BACKUP_RETRIES )) && {
59
- # kubectl delete volumesnapshot -n "$namespace" "$backupName";
+ # remove the finalizers to allow fully deleting them
60
+ kubectl patch -n "$namespace" volumesnapshot "$pvc_name" -p '{"metadata":{"finalizers": []}}' --type=merge
61
+ kubectl delete volumesnapshot -n "$namespace" "$backupName";
62
_error "Timed out waiting for backup of $description PVC";
63
}
64
sleep 5
0 commit comments