Skip to content

Commit

Permalink
debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Dec 23, 2024
1 parent 496b76e commit 29ac706
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/scripts/setup_cosi_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ log_and_run kubectl create -k github.com/kubernetes-sigs/container-object-storag

log_and_run kubectl get all --namespace default

# Step 2: Verify COSI Controller Pod Status
log_and_run echo "Verifying COSI Controller Pod status..."
if ! kubectl wait --namespace default --for=condition=ready pod -l app.kubernetes.io/name=container-object-storage-interface-controller --timeout=60s; then
echo "Error: COSI Controller pod did not reach ready state." | tee -a "$LOG_FILE"
exit 1
fi
# # Step 2: Verify COSI Controller Pod Status
# log_and_run echo "Verifying COSI Controller Pod status..."
# if ! kubectl wait --namespace default --for=condition=ready pod -l app.kubernetes.io/name=container-object-storage-interface-controller --timeout=60s; then
# echo "Error: COSI Controller pod did not reach ready state." | tee -a "$LOG_FILE"
# exit 1
# fi
log_and_run kubectl get pods --namespace default

# Step 3: Build COSI driver Docker image
Expand Down

0 comments on commit 29ac706

Please sign in to comment.