From 8e467697e17d087eefa19b14bc8a889c38ea70cd Mon Sep 17 00:00:00 2001 From: Adam0Brien Date: Wed, 20 Nov 2024 17:01:59 +0000 Subject: [PATCH] fix status checks --- .github/workflows/e2e-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 183bad58..f3d9beed 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -19,7 +19,7 @@ jobs: run: | for i in {1..50}; do - MIGRATE_STATUS=$(kubectl get pods -l job-name=spicedb-cr-migrate -o jsonpath='{.items[0].status.phase}') + MIGRATE_STATUS=$(kubectl get pods -l job-name=spicedb-cr-migrate -o jsonpath='{.status.containerStatuses[0].ready}') if [ "$MIGRATE_STATUS" = "Completed" ]; then echo "SpiceDB migration completed." break