diff --git a/services/storage-calculator/calculate-storage.sh b/services/storage-calculator/calculate-storage.sh index 53846c9b85..50427d02ba 100755 --- a/services/storage-calculator/calculate-storage.sh +++ b/services/storage-calculator/calculate-storage.sh @@ -107,7 +107,7 @@ echo "$ALL_ENVIRONMENTS" | jq -c '.data.environments[] | select((.environments | ${OC} rollout resume deployment/storage-calc echo "$OPENSHIFT_URL - $PROJECT_NAME - $ENVIRONMENT_NAME: redeploying storage-calc to mount volumes" - ${OC} rollout status deployment/storage-calc --watch --timeout=30s + ${OC} rollout status deployment/storage-calc --watch --request-timeout=30s POD=$(${OC} get pods -l app=storage-calc -o json | jq -r '[.items[] | select(.metadata.deletionTimestamp == null) | select(.status.phase == "Running")] | first | .metadata.name // empty') @@ -165,4 +165,4 @@ echo "$ALL_ENVIRONMENTS" | jq -c '.data.environments[] | select((.environments | ${OC} delete deployment/storage-calc --ignore-not-found=true done -done \ No newline at end of file +done