mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Always use the --cluster-version flag for the gke provider.
This commit is contained in:
parent
1d6553bd0a
commit
31811de52d
@ -144,12 +144,8 @@ function kube-up() {
|
||||
"--num-nodes=${NUM_MINIONS}"
|
||||
"--network=${NETWORK}"
|
||||
"--scopes=${MINION_SCOPES}"
|
||||
"--cluster-version=${CLUSTER_API_VERSION}"
|
||||
)
|
||||
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[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user