Skip to content

Commit

Permalink
Fix issue with 'latest' in containerd version (#7459)
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut authored Apr 7, 2021
1 parent 7340a16 commit bef1e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@
msg: "containerd_version is too low. Minimum version {{ containerd_min_version_required }}"
run_once: yes
when:
- containerd_version != 'latest'
- container_manager == 'containerd'

- name: Stop if using deprecated containerd_config variable
Expand Down
1 change: 1 addition & 0 deletions tests/files/packet_fedora32-kube-ovn-containerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ mode: default

# Kubespray settings
container_manager: containerd
containerd_version: latest
etcd_deployment_type: host
deploy_netchecker: true
dns_min_replicas: 1
Expand Down

0 comments on commit bef1e62

Please sign in to comment.