install calicoctl on kube nodes
This commit is contained in:
@@ -171,3 +171,9 @@
|
||||
- name: Restart kube-apiserver
|
||||
ansible.builtin.shell: "killall kube-apiserver"
|
||||
when: apiserver.changed
|
||||
|
||||
- name: Download calicoctl
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/projectcalico/calico/releases/download/v3.28.1/calicoctl-linux-{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
|
||||
dest: "/usr/bin/calicoctl"
|
||||
mode: '0755'
|
||||
|
Reference in New Issue
Block a user