message: do not start storage calc pod if there are no pvcs
diff: -#!/bin/bash -x
  +#!/bin/bash
  API_ADMIN_JWT_TOKEN=$(./create_jwt.sh)
  BEARER="Authorization: bearer $API_ADMIN_JWT_TOKEN"
  @@ -44,6 +44,20 @@ do
  PVCS=($(${OC} get pvc -o name | sed 's/persistentvolumeclaims\///'))
  + if [[ ! ${#PVCS[@]} -gt 0 ]]; then
  + echo "$OPENSHIFT_URL - $PROJECT_NAME - $ENVIRONMENT_NAME: no PVCs found writing API with 0 bytes"
  +
  + MUTATION="mutation addOrUpdateEnvironmentStorage {
  + addOrUpdateEnvironmentStorage(input:{environment:${ENVIRONMENT_ID}, persistent_storage_claim:\"na\", bytes_used:0}) {
  + id
  + }
  + }"
  +
  + # Convert GraphQL file into single line (but with still \n existing), turn \n into \\n, esapee the Quotes
  + query=$(echo $MUTATION | sed 's/"/\\"/g' | sed 's/\\n/\\\\n/g' | awk -F'\n' '{if(NR == 1) {printf $0} else {printf "\\n"$0}}')
  + curl -s -XPOST -H 'Content-Type: application/json' -H "$BEARER" api:3000/graphql -d "{\"query\": \"$query\"}"
  +
  + else
  echo "$OPENSHIFT_URL - $PROJECT_NAME - $ENVIRONMENT_NAME: creating storage-calc pod"
  ${OC} run --image alpine storage-calc -- sh -c "while sleep 3600; do :; done"
  @@ -74,7 +88,6 @@ do
  # STORAGE_BYTES=$(echo "${DF}" | grep /storage/${PVC} | awk '{ print $4 }')
  echo "$OPENSHIFT_URL - $PROJECT_NAME - $ENVIRONMENT_NAME: ${PVC} uses ${STORAGE_BYTES} bytes"
  - # Load all projects and their environments
  MUTATION="mutation addOrUpdateEnvironmentStorage {
  addOrUpdateEnvironmentStorage(input:{environment:${ENVIRONMENT_ID}, persistent_storage_claim:\"${PVC}\", bytes_used:${STORAGE_BYTES}}) {
  id
  @@ -88,7 +101,7 @@ do
  done
  ${OC} delete deploymentconfig/storage-calc
  -
  + fi
  done
  done
  