Merge pull request #12522 from gmarek/fix_gke

Fix kube-up for GKE. cluster-version is no more.
pull/6/head
Filip Grzadkowski 2015-08-11 12:11:24 +02:00
commit 22fc45c98a
1 changed files with 0 additions and 6 deletions

View File

@ -110,7 +110,6 @@ function verify-prereqs() {
# GCLOUD
# CLUSTER_NAME
# ZONE
# CLUSTER_API_VERSION (optional)
# NUM_MINIONS
# MINION_SCOPES
function kube-up() {
@ -145,11 +144,6 @@ function kube-up() {
"--network=${NETWORK}"
"--scopes=${MINION_SCOPES}"
)
if [[ ! -z "${DOGFOOD_GCLOUD:-}" ]]; then
create_args+=("--cluster-version=${CLUSTER_API_VERSION:-}")
else
create_args+=("--cluster-api-version=${CLUSTER_API_VERSION:-}")
fi
# Bring up the cluster.
"${GCLOUD}" "${CMD_GROUP}" container clusters create "${CLUSTER_NAME}" "${create_args[@]}"