From 28668e2144abf50475d304a3fe627f8b549298bc Mon Sep 17 00:00:00 2001 From: tu1h Date: Tue, 31 Oct 2023 16:16:51 +0800 Subject: [PATCH] Fix incorrect ciliumcli binary Signed-off-by: tu1h --- roles/download/defaults/main/main.yml | 2 +- roles/network_plugin/cilium/tasks/install.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/download/defaults/main/main.yml b/roles/download/defaults/main/main.yml index 4f00beb0421..6297251deb6 100644 --- a/roles/download/defaults/main/main.yml +++ b/roles/download/defaults/main/main.yml @@ -694,7 +694,7 @@ downloads: enabled: "{{ kube_network_plugin == 'cilium' or cilium_deploy_additionally | default(false) | bool }}" file: true version: "{{ cilium_cli_version }}" - dest: "{{ local_release_dir }}/cilium-{{ cilium_cli_version }}-{{ image_arch }}" + dest: "{{ local_release_dir }}/cilium-{{ cilium_cli_version }}-{{ image_arch }}.tar.gz" sha256: "{{ ciliumcli_binary_checksum }}" url: "{{ ciliumcli_download_url }}" unarchive: true diff --git a/roles/network_plugin/cilium/tasks/install.yml b/roles/network_plugin/cilium/tasks/install.yml index 7678e7d4aa4..d531d72417a 100644 --- a/roles/network_plugin/cilium/tasks/install.yml +++ b/roles/network_plugin/cilium/tasks/install.yml @@ -91,7 +91,7 @@ - name: Cilium | Copy Ciliumcli binary from download dir copy: - src: "{{ downloads.ciliumcli.dest }}" + src: "{{ local_release_dir }}/cilium" dest: "{{ bin_dir }}/cilium" mode: 0755 remote_src: yes