Skip to content

Commit

Permalink
remove duplicate check
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Nov 14, 2024
1 parent 80e6b86 commit 8275b66
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/scripts/verify_helm_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ if ! helm status scality-cosi-driver -n $NAMESPACE; then
exit 1
fi

if ! kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=scality-cosi-driver -n $NAMESPACE --timeout=120s; then
echo "One or more pods failed to start within the expected time"
exit 1
fi

echo "Verifying COSI driver Pod status..."
if ! kubectl wait --namespace $NAMESPACE --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=30s; then
if ! kubectl wait --namespace $NAMESPACE --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=120s; then
echo "Error: COSI driver Pod did not reach ready state."
kubectl get pods -n $NAMESPACE
exit 1
Expand Down

0 comments on commit 8275b66

Please sign in to comment.