From e79a19deefee92b6b210f043b15b5f47aaf2eb6b Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 9 Aug 2024 09:44:29 +0000 Subject: [PATCH] fix --- hack/verify-examples.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/verify-examples.sh b/hack/verify-examples.sh index 3ff485a0..33831579 100755 --- a/hack/verify-examples.sh +++ b/hack/verify-examples.sh @@ -21,9 +21,9 @@ rollout_and_wait() { APPNAME=$(kubectl apply -f $1 | grep -E "^(:?daemonset|deployment|statefulset|pod)" | awk '{printf $1}') if [[ -n $(expr "${APPNAME}" : "\(daemonset\|deployment\|statefulset\|pod\)" || true) ]]; then - kubectl rollout status $APPNAME --watch --timeout=5m + kubectl rollout status $APPNAME --watch --timeout=5m -n default else - kubectl wait "${APPNAME}" --for condition=ready --timeout=5m + kubectl wait "${APPNAME}" --for condition=ready --timeout=5m -n default fi }