Commit 122124f9 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

Merge pull request #4175 from wojtek-t/kubectl_silent

kubectl doesn't fail silently with no k8s master
parents b08bd867 9d9bca99
......@@ -123,7 +123,7 @@ elif [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
)
fi
detect-master &> /dev/null
detect-master > /dev/null
if [[ -n "${KUBE_MASTER_IP-}" && -z "${KUBERNETES_MASTER-}" ]]; then
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
fi
......
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