From 06b09ee1cba2d75aad2ae0f23d02482b92048e8c Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 3 Mar 2021 13:41:34 +0100 Subject: Upgrade kubectl version and download link in it's Molecule test setup Kubectl upgraded to 1.19.6 Change-Id: I331926c81b595c17700f76c4568bc76f5d1ae8c1 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski --- ansible/test/roles/prepare-kubectl/defaults/main.yml | 2 +- ansible/test/roles/prepare-kubectl/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ansible') diff --git a/ansible/test/roles/prepare-kubectl/defaults/main.yml b/ansible/test/roles/prepare-kubectl/defaults/main.yml index df32a1a4..fbba2476 100644 --- a/ansible/test/roles/prepare-kubectl/defaults/main.yml +++ b/ansible/test/roles/prepare-kubectl/defaults/main.yml @@ -4,4 +4,4 @@ # cases where it is used by verification tests of other roles). kubectl_install: false # Kubectl version. -kubectl_version: 1.15.11 +kubectl_version: 1.19.6 diff --git a/ansible/test/roles/prepare-kubectl/tasks/main.yml b/ansible/test/roles/prepare-kubectl/tasks/main.yml index b5631850..f75b0d09 100644 --- a/ansible/test/roles/prepare-kubectl/tasks/main.yml +++ b/ansible/test/roles/prepare-kubectl/tasks/main.yml @@ -7,7 +7,7 @@ - name: "Install kubectl-{{ kubectl_version }}" get_url: - url: "https://storage.googleapis.com/kubernetes-release/release/v{{ kubectl_version }}/bin/linux/amd64/kubectl" + url: "https://dl.k8s.io/release/v{{ kubectl_version }}/bin/linux/amd64/kubectl" dest: "{{ '/usr/local/bin/kubectl' if kubectl_install else app_data_path+'/downloads/kubectl' }}" # This mode conditional allows checking if kubectl role, when installing kubectl, correctly # adds executable bit (bonus). -- cgit 1.2.3-korg