summaryrefslogtreecommitdiffstats
path: root/ansible/test
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-03-03 13:41:34 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-03-03 13:42:47 +0100
commit06b09ee1cba2d75aad2ae0f23d02482b92048e8c (patch)
treea4e56027ababb36ae6fc6c9b1a7a7e904dcd0919 /ansible/test
parent02bb993b3348a917c38cb17eeb67a42fa2c28286 (diff)
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 <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test')
-rw-r--r--ansible/test/roles/prepare-kubectl/defaults/main.yml2
-rw-r--r--ansible/test/roles/prepare-kubectl/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
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).