diff --git a/cluster/centos/config-build.sh b/cluster/centos/config-build.sh index 0ec715ddc9f..60ee0f47c9b 100755 --- a/cluster/centos/config-build.sh +++ b/cluster/centos/config-build.sh @@ -26,7 +26,7 @@ FLANNEL_VERSION=${FLANNEL_VERSION:-"0.5.3"} ETCD_VERSION=${ETCD_VERSION:-"2.2.1"} # Define k8s version to use. -K8S_VERSION=${K8S_VERSION:-"1.0.4"} +K8S_VERSION=${K8S_VERSION:-"1.1.1"} FLANNEL_DOWNLOAD_URL=\ "https://github.com/coreos/flannel/releases/download/v${FLANNEL_VERSION}/flannel-${FLANNEL_VERSION}-linux-amd64.tar.gz" diff --git a/cluster/centos/util.sh b/cluster/centos/util.sh index f6a6fef34e5..71517f11294 100755 --- a/cluster/centos/util.sh +++ b/cluster/centos/util.sh @@ -293,7 +293,7 @@ function kube-scp() { # KUBE_USER # KUBE_PASSWORD function get-password { - get-kubeconfig-basicauth + load-or-gen-kube-basicauth if [[ -z "${KUBE_USER}" || -z "${KUBE_PASSWORD}" ]]; then KUBE_USER=admin KUBE_PASSWORD=$(python -c 'import string,random; \