Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af826f1

Browse files
author
Isaac Hollander McCreery
committed
Use --cluster-version for GKE regardless of DOGFOOD_GCLOUD
1 parent c2ec0c5 commit af826f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cluster/gke/util.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@ function kube-up() {
143143
"--num-nodes=${NUM_MINIONS}"
144144
"--network=${NETWORK}"
145145
)
146-
if [[ ! -z "${DOGFOOD_GCLOUD:-}" ]]; then
147-
create_args+=("--cluster-version=${CLUSTER_API_VERSION:-}")
148-
else
149-
create_args+=("--cluster-api-version=${CLUSTER_API_VERSION:-}")
150-
fi
146+
create_args+=("--cluster-version=${CLUSTER_API_VERSION:-}")
151147

152148
# Bring up the cluster.
153149
"${GCLOUD}" ${CMD_GROUP:-} container clusters create "${CLUSTER_NAME}" "${create_args[@]}"

0 commit comments

Comments
 (0)