message: Added a configurable timeout to exit the loop
diff: @@ -573,10 +573,19 @@ do
  mariadb-shared)
  # ServiceBrokers take a bit, wait until the credentials secret is available
  + # We added a timeout of 10 minutes (120 retries) before exit
  + SERVICE_BROKER_COUNTER=1
  + SERVICE_BROKER_TIMEOUT=120
  until oc get --insecure-skip-tls-verify -n ${OPENSHIFT_PROJECT} secret ${SERVICE_NAME}-servicebroker-credentials
  do
  + if [ $SERVICE_BROKER_COUNTER -lt $SERVICE_BROKER_TIMEOUT ]; then
  + let SERVICE_BROKER_COUNTER=SERVICE_BROKER_COUNTER+1
  echo "Secret ${SERVICE_NAME}-servicebroker-credentials not available yet, waiting for 5 secs"
  sleep 5
  + else
  + echo "Timeout of $SERVICE_BROKER_TIMEOUT for ${SERVICE_NAME}-servicebroker-credentials reached"
  + exit 1
  + fi
  done
  # Load credentials out of secret
  oc get --insecure-skip-tls-verify -n ${OPENSHIFT_PROJECT} secret ${SERVICE_NAME}-servicebroker-credentials -o yaml > /oc-build-deploy/lagoon/${SERVICE_NAME}-servicebroker-credentials.yml
  