message: new labels for post tasks
diff: #!/bin/bash
  -# if there is a deploymentconfig for the given service
  +# if there is a deployment for the given service
  if [[ $(kubectl -n ${NAMESPACE} get deployment --no-headers=true -o name -l service=${SERVICE_NAME}| wc -l) -gt 0 ]]; then
  - DEPLOYMENTCONFIG=$(kubectl -n ${NAMESPACE} get deployment -l service=${SERVICE_NAME} -o name)
  + DEPLOYMENTCONFIG=$(kubectl -n ${NAMESPACE} get deploy -l lagoon/service=${SERVICE_NAME} -o name)
  # check if deploymenconfig has at least 1 ready pod, if not, scale and check again in 3 secounds.
  while [[ $(kubectl -n ${NAMESPACE} get ${DEPLOYMENTCONFIG} -o go-template --template='{{.status.readyReplicas}}') = "<no value>" ]] || [[ $(kubectl -n ${NAMESPACE} get ${DEPLOYMENTCONFIG} -o go-template --template='{{.status.readyReplicas}}') = "0" ]]
  do
  @@ -12,7 +12,7 @@ if [[ $(kubectl -n ${NAMESPACE} get deployment --no-headers=true -o name -l serv
  done
  fi
  -POD=$(kubectl -n ${NAMESPACE} get pods -l app.kubernetes.io/instance=${SERVICE_NAME} -o json | jq -r '.items[] | select(.metadata.deletionTimestamp == null) | select(.status.phase == "Running") | .metadata.name' | head -n 1)
  +POD=$(kubectl -n ${NAMESPACE} get pods -l lagoon/service=${SERVICE_NAME} -o json | jq -r '.items[] | select(.metadata.deletionTimestamp == null) | select(.status.phase == "Running") | .metadata.name' | head -n 1)
  if [[ ! $POD ]]; then
  echo "No running pod found for ${SERVICE_NAME}"
  