Commit 30a8a25c authored by Davanum Srinivas's avatar Davanum Srinivas

Do not clobber KUBERNETES_PROVIDER - fix kubeadm/gce log collection

This gets in the way of correct log collection for at least the kubeadm/gce jobs. Not sure if this piece of code is needed any more.
parent d7567cd6
......@@ -22,10 +22,12 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/cluster/skeleton/util.sh"
if [[ -n "${KUBERNETES_CONFORMANCE_TEST:-}" ]]; then
KUBERNETES_PROVIDER=""
else
KUBERNETES_PROVIDER="${KUBERNETES_PROVIDER:-gce}"
if [[ "${KUBERNETES_PROVIDER:-}" != "kubernetes-anywhere" ]]; then
if [[ -n "${KUBERNETES_CONFORMANCE_TEST:-}" ]]; then
KUBERNETES_PROVIDER=""
else
KUBERNETES_PROVIDER="${KUBERNETES_PROVIDER:-gce}"
fi
fi
# PROVIDER_VARS is a list of cloud provider specific variables. Note:
......
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