@ -84,6 +84,7 @@ multus_version: "v3.7"
ovn4nfv_ovn_image_version : "v1.0.0"
ovn4nfv_k8s_plugin_image_version : "v1.1.0"
helm_version : "v3.5.4"
nerdctl_version : "0.8.0"
# Get kubernetes major version (i.e. 1.17.4 => 1.17)
kube_major_version : "{{ kube_version | regex_replace('^v([0-9])+\\.([0-9]+)\\.[0-9]+', 'v\\1.\\2') }}"
@ -105,6 +106,7 @@ crictl_download_url: "https://github.com/kubernetes-sigs/cri-tools/releases/down
helm_download_url : "https://get.helm.sh/helm-{{ helm_version }}-linux-{{ image_arch }}.tar.gz"
crun_download_url : "https://github.com/containers/crun/releases/download/{{ crun_version }}/crun-{{ crun_version }}-linux-{{ image_arch }}"
kata_containers_download_url : "https://github.com/kata-containers/runtime/releases/download/{{ kata_containers_version }}/kata-static-{{ kata_containers_version }}-{{ ansible_architecture }}.tar.xz"
nerdctl_download_url : "https://github.com/containerd/nerdctl/releases/download/v{{ nerdctl_version }}/nerdctl-{{ nerdctl_version }}-{{ ansible_system | lower }}-{{ image_arch }}.tar.gz"
crictl_checksums:
arm:
@ -366,6 +368,14 @@ kata_containers_binary_checksums:
1.11.3 : 0
1.12.1 : 0
nerdctl_archive_checksums:
arm:
0.8.0 : 4f010fad22de10c839c003f126e9a10971abd142a9666bd1d3f2f49a3b545b5a
arm64:
0.8.0 : 55073069e72315b58b4ebedb49c48f7d762cae02c541cbb36693223ae4019a6b
amd64:
0.8.0 : a8097ad1f302c4ee2643162569a8f7019190461e740e453f41dba3ba264d0d3d
etcd_binary_checksum : "{{ etcd_binary_checksums[image_arch] }}"
cni_binary_checksum : "{{ cni_binary_checksums[image_arch] }}"
kubelet_binary_checksum : "{{ kubelet_checksums[image_arch][kube_version] }}"
@ -377,6 +387,7 @@ crictl_binary_checksum: "{{ crictl_checksums[image_arch][crictl_version] }}"
helm_archive_checksum : "{{ helm_archive_checksums[image_arch][helm_version] }}"
crun_binary_checksum : "{{ crun_checksums[image_arch][crun_version] }}"
kata_containers_binary_checksum : "{{ kata_containers_binary_checksums[image_arch][kata_containers_version] }}"
nerdctl_archive_checksum : "{{ nerdctl_archive_checksums[image_arch][nerdctl_version] }}"
# Containers
# In some cases, we need a way to set --registry-mirror or --insecure-registry for docker,
@ -657,6 +668,19 @@ downloads:
groups:
- k8s-cluster
nerdctl:
file : true
enabled : "{{ nerdctl_enabled }}"
version : "{{ nerdctl_version }}"
dest : "{{ local_release_dir }}/nerdctl-{{ nerdctl_version }}-linux-{{ image_arch }}.tar.gz"
sha256 : "{{ nerdctl_archive_checksum }}"
url : "{{ nerdctl_download_url }}"
unarchive : true
owner : "root"
mode : "0755"
groups:
- k8s-cluster
cilium:
enabled : "{{ kube_network_plugin == 'cilium' or cilium_deploy_additionally | default(false) | bool }}"
container : true