-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GKE provider: Add cluster-ipv4-cidr and arbitrary flags #25437
GKE provider: Add cluster-ipv4-cidr and arbitrary flags #25437
Conversation
Relies on kubernetes/kubernetes#25437, but this suite is manual, so I'll make sure that's merged before I kick this one again.
create_args+=("--cluster-ipv4-cidr=${CLUSTER_IP_RANGE}") | ||
fi | ||
|
||
create_args+=( ${GKE_CREATE_FLAGS:-} ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why we don't want to put ${GKE_CREATE_FLAGS:-} in quotes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's intentional - it implicitly splits across spaces and dumps it in the array, e.g.:
$ LIST="foo bar blat"
$ ARR=( ${LIST} )
$ echo ${ARR[2]}
blat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I figured it was intentional, just wanted a free bash lesson from you :)
LGTM |
GCE e2e build/test passed for commit e42f201. |
Automatic merge from submit-queue |
cc @roberthbailey @a-robinson @cjcullen
This change is