Commit 69f7a71b authored by gmarek's avatar gmarek

Fix kube-up for GKE. cluster-version is no more.

parent 3f186418
...@@ -110,7 +110,6 @@ function verify-prereqs() { ...@@ -110,7 +110,6 @@ function verify-prereqs() {
# GCLOUD # GCLOUD
# CLUSTER_NAME # CLUSTER_NAME
# ZONE # ZONE
# CLUSTER_API_VERSION (optional)
# NUM_MINIONS # NUM_MINIONS
# MINION_SCOPES # MINION_SCOPES
function kube-up() { function kube-up() {
...@@ -145,11 +144,6 @@ function kube-up() { ...@@ -145,11 +144,6 @@ function kube-up() {
"--network=${NETWORK}" "--network=${NETWORK}"
"--scopes=${MINION_SCOPES}" "--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. # Bring up the cluster.
"${GCLOUD}" "${CMD_GROUP}" container clusters create "${CLUSTER_NAME}" "${create_args[@]}" "${GCLOUD}" "${CMD_GROUP}" container clusters create "${CLUSTER_NAME}" "${create_args[@]}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment