Finalize debug restore procedure

This commit is contained in:
Ruben Hensen
2025-03-05 13:49:43 +01:00
parent a67d8df7e6
commit 502d9959a5
2 changed files with 19 additions and 49 deletions
+2 -2
View File
@@ -271,7 +271,7 @@ else
--namespace-mappings $ORIGINAL_NAMESPACE:$TEST_NAMESPACE \
--include-namespaces $ORIGINAL_NAMESPACE \
--exclude-namespaces kube-system,kube-public,kube-node-lease,velero \
--exclude-resources certificates.cert-manager.io \
--exclude-resources certificates.cert-manager.io \
--wait
fi
@@ -281,7 +281,7 @@ velero restore get
# Wait for pods to be ready
echo "Waiting for pods to be ready..."
kubectl wait --for=condition=ready pod --all -n $TEST_NAMESPACE --timeout=300s || true
kubectl wait --for=condition=ready pod --all -n $TEST_NAMESPACE --timeout=600s || true
# 8. Run validation script (create it first if it doesn't exist)
# if [[ ! -f ./validate-restore.sh ]]; then