All container image versions were defined in download/defaults/main.yml except containerd. The inconsistency caused the offline script(generate_list.sh) could not output the URL of containerd image. This moves the definition into a valid file. In addition, this adds host_os to generate_list.sh for downloading krew from a valid URL.
This commit is contained in:
parent
d1609e3111
commit
c4a2745523
3 changed files with 5 additions and 4 deletions
|
@ -21,6 +21,7 @@ arch=${ARCH}
|
||||||
image_arch=${IMAGE_ARCH}
|
image_arch=${IMAGE_ARCH}
|
||||||
ansible_system=${ANSIBLE_SYSTEM}
|
ansible_system=${ANSIBLE_SYSTEM}
|
||||||
ansible_architecture=${ANSIBLE_ARCHITECTURE}
|
ansible_architecture=${ANSIBLE_ARCHITECTURE}
|
||||||
|
host_os=${ANSIBLE_SYSTEM}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# generate all component version by $DOWNLOAD_YML
|
# generate all component version by $DOWNLOAD_YML
|
||||||
|
|
|
@ -71,6 +71,10 @@ crun_version: 1.3
|
||||||
runc_version: v1.0.3
|
runc_version: v1.0.3
|
||||||
kata_containers_version: 2.2.3
|
kata_containers_version: 2.2.3
|
||||||
gvisor_version: 20210921
|
gvisor_version: 20210921
|
||||||
|
containerd_version: 1.5.8
|
||||||
|
|
||||||
|
# this is relevant when container_manager == 'docker'
|
||||||
|
docker_containerd_version: 1.4.12
|
||||||
|
|
||||||
# gcr and kubernetes image repo define
|
# gcr and kubernetes image repo define
|
||||||
gcr_image_repo: "gcr.io"
|
gcr_image_repo: "gcr.io"
|
||||||
|
|
|
@ -340,12 +340,8 @@ docker_plugins: []
|
||||||
etcd_kubeadm_enabled: false
|
etcd_kubeadm_enabled: false
|
||||||
|
|
||||||
# Containerd options - thse are relevant when container_manager == 'containerd'
|
# Containerd options - thse are relevant when container_manager == 'containerd'
|
||||||
containerd_version: 1.5.8
|
|
||||||
containerd_use_systemd_cgroup: true
|
containerd_use_systemd_cgroup: true
|
||||||
|
|
||||||
# Docker options - this is relevant when container_manager == 'docker'
|
|
||||||
docker_containerd_version: 1.4.12
|
|
||||||
|
|
||||||
## An obvious use case is allowing insecure-registry access to self hosted registries.
|
## An obvious use case is allowing insecure-registry access to self hosted registries.
|
||||||
## Can be ipaddress and domain_name.
|
## Can be ipaddress and domain_name.
|
||||||
## example define mirror.registry.io or 172.19.16.11:5000
|
## example define mirror.registry.io or 172.19.16.11:5000
|
||||||
|
|
Loading…
Reference in a new issue