From 204e2f31dc5d584edd381273399afa16aabd4350 Mon Sep 17 00:00:00 2001 From: hui luo Date: Wed, 1 May 2019 14:52:22 -0500 Subject: [PATCH] Bump kubectl version to v1.13.2 in ci (#923) kubectl v1.10.2 does not compatible with cluster v1.14.x anymore Signed-off-by: Hui Luo --- scripts/ci-integration.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci-integration.sh b/scripts/ci-integration.sh index 777125b09691..2222f2189b95 100755 --- a/scripts/ci-integration.sh +++ b/scripts/ci-integration.sh @@ -21,6 +21,7 @@ set -o pipefail MAKE="make" KUSTOMIZE="kustomize" KUBECTL="kubectl" +KUBECTL_VERSION="v1.13.2" CRD_YAML="crd.yaml" BOOTSTRAP_CLUSTER_NAME="clusterapi-bootstrap" CONTROLLER_REPO="controller-ci" # use arbitrary repo name since we don't need to publish it @@ -32,7 +33,7 @@ install_kustomize() { } install_kubectl() { - wget https://storage.googleapis.com/kubernetes-release/release/v1.10.2/bin/linux/amd64/kubectl \ + wget https://storage.googleapis.com/kubernetes-release/release/"${KUBECTL_VERSION}"/bin/linux/amd64/kubectl \ --no-verbose -O /usr/local/bin/kubectl chmod +x /usr/local/bin/kubectl }