Merge pull request #16986 from pmorie/gce-sc
Auto commit by PR queue bot
This commit is contained in:
@@ -113,7 +113,7 @@ if [[ "${ENABLE_DAEMONSETS}" == "true" ]]; then
|
||||
fi
|
||||
|
||||
# Admission Controllers to invoke prior to persisting objects in cluster
|
||||
ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota
|
||||
ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota
|
||||
|
||||
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
|
||||
KUBE_UP_AUTOMATIC_CLEANUP=${KUBE_UP_AUTOMATIC_CLEANUP:-false}
|
||||
|
@@ -713,7 +713,7 @@ function kube-up {
|
||||
|
||||
# curl in mavericks is borked.
|
||||
secure=""
|
||||
if which sw_vers > /dev/null; then
|
||||
if which sw_vers >& /dev/null; then
|
||||
if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then
|
||||
secure="--insecure"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user