SHARE
TWEET

Untitled

a guest Jan 26th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo "Creating the gitlab-registry secret ..."
  2.     # Save the JSON to create the gitlab-registry docker-registry secret
  3.     GITLAB_REGISTRY_SECRET_JSON=$(
  4.       kubectl create secret --namespace=$KUBE_NAMESPACE \
  5.                             docker-registry gitlab-registry \
  6.                             --docker-server="$CI_REGISTRY" \
  7.                             --docker-username="${CI_DEPLOY_USER:-$CI_REGISTRY_USER}" \
  8.                             --docker-password="${CI_DEPLOY_PASSWORD:-$CI_REGISTRY_PASSWORD}" \
  9.                             --docker-email="$GITLAB_USER_EMAIL" \
  10.                             --output json \
  11.                             --dry-run
  12.     )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top