Update kubectl version

This commit updates kubectl version from 1.16.2 to 1.17.4 as part of
gate setup

Change-Id: I88728be65474ee7ce57f243e1356b84c7609a45f
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
This commit is contained in:
Sreejith Punnapuzha 2020-06-19 13:17:45 -05:00
parent c3002cabda
commit c64ad2db4f
3 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ DOCS_DIR ?= docs
# document validation options
UNAME != uname
export KIND_URL ?= https://kind.sigs.k8s.io/dl/v0.8.1/kind-$(UNAME)-amd64
KUBECTL_VERSION ?= v1.16.2
KUBECTL_VERSION ?= v1.17.4
export KUBECTL_URL ?= https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
.PHONY: depend

View File

@ -12,7 +12,7 @@
- name: install kubectl binary
shell: |
curl -sSLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.16.2/bin/linux/amd64/kubectl
curl -sSLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.17.4/bin/linux/amd64/kubectl
chmod +x /usr/local/bin/kubectl
become: yes
args:
@ -20,4 +20,4 @@
environment:
http_proxy: "{{ proxy.http }}"
https_proxy: "{{ proxy.http }}"
no_proxy: "{{ proxy.noproxy }}"
no_proxy: "{{ proxy.noproxy }}"

View File

@ -14,7 +14,7 @@
set -xe
: ${KUBE_VERSION:="v1.16.2"}
: ${KUBE_VERSION:="v1.17.4"}
# Install kubectl
URL="https://storage.googleapis.com"