mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
Finalize debug restore procedure
This commit is contained in:
1 parent
a67d8df7e6
commit
502d9959a5
2 files changed
+19
-49
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user