kubectl commands that query jobs or pod specs exit non-zero when the resource doesn't exist yet. Under set -e, a bare command substitution like var=$(kubectl ...) aborts the script silently. Add || true so the polling loop and assertion logic can handle failures gracefully. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| run-deploy-test.sh | ||