message: more explicit controller robot actions
diff: @@ -58,7 +58,9 @@ kubectl config set-cluster kubernetes.default.svc --server=https://kubernetes.de
  kubectl config set-context default/lagoon/kubernetes.default.svc --user=lagoon/kubernetes.default.svc --namespace="${NAMESPACE}" --cluster=kubernetes.default.svc
  kubectl config use-context default/lagoon/kubernetes.default.svc
  -if [ ! -z ${INTERNAL_REGISTRY_URL} ] && [ ! -z ${INTERNAL_REGISTRY_USERNAME} ] && [ ! -z ${INTERNAL_REGISTRY_PASSWORD} ] ; then
  +if [ ! -z ${INTERNAL_REGISTRY_URL} ] ; then
  + echo "Creating secret for internal registry access"
  + if [ ! -z ${INTERNAL_REGISTRY_USERNAME} ] && [ ! -z ${INTERNAL_REGISTRY_PASSWORD} ] ; then
  echo "docker login -u '${INTERNAL_REGISTRY_USERNAME}' -p '${INTERNAL_REGISTRY_PASSWORD}' ${INTERNAL_REGISTRY_URL}" | /bin/bash
  # create lagoon-internal-registry-secret if it does not exist yet
  if ! kubectl -n ${NAMESPACE} get secret lagoon-internal-registry-secret &> /dev/null; then
  @@ -66,6 +68,15 @@ if [ ! -z ${INTERNAL_REGISTRY_URL} ] && [ ! -z ${INTERNAL_REGISTRY_USERNAME} ] &
  fi
  REGISTRY_SECRETS+=("lagoon-internal-registry-secret")
  REGISTRY=$INTERNAL_REGISTRY_URL # This will handle pointing Lagoon at the correct registry for non local builds
  + echo "Set internal registry secrets for token ${INTERNAL_REGISTRY_USERNAME} in ${REGISTRY}"
  + else
  + if [ ! $INTERNAL_REGISTRY_USERNAME ]; then
  + echo "No token created for registry ${INTERNAL_REGISTRY_URL}"; exit 1;
  + fi
  + if [ ! $INTERNAL_REGISTRY_PASSWORD ]; then
  + echo "No password retrieved for token ${INTERNAL_REGISTRY_USERNAME} in registry ${INTERNAL_REGISTRY_URL}"; exit 1;
  + fi
  + fi
  fi
  ##############################################
  