From 8d91f491b0a186d333c8220c58b34eca81143753 Mon Sep 17 00:00:00 2001 From: Calin Cristian Andrei Date: Thu, 3 Mar 2022 20:36:19 +0000 Subject: [PATCH] [cri-o] add cri-0 1.23.x --- roles/container-engine/cri-o/defaults/main.yml | 4 ++-- roles/container-engine/cri-o/vars/amazon.yml | 2 ++ roles/container-engine/cri-o/vars/centos-7.yml | 2 ++ roles/container-engine/cri-o/vars/centos-8.yml | 2 ++ roles/container-engine/cri-o/vars/debian.yml | 3 +++ roles/container-engine/cri-o/vars/fedora.yml | 4 ++-- roles/container-engine/cri-o/vars/ubuntu.yml | 3 +++ 7 files changed, 16 insertions(+), 4 deletions(-) diff --git a/roles/container-engine/cri-o/defaults/main.yml b/roles/container-engine/cri-o/defaults/main.yml index 422bddfaf47..2b5ddd379ab 100644 --- a/roles/container-engine/cri-o/defaults/main.yml +++ b/roles/container-engine/cri-o/defaults/main.yml @@ -38,11 +38,11 @@ crio_stream_port: "10010" crio_required_version: "{{ kube_version | regex_replace('^v(?P\\d+).(?P\\d+).(?P\\d+)$', '\\g.\\g') }}" crio_kubernetes_version_matrix: - "1.23": "1.22" + "1.23": "1.23" "1.22": "1.22" "1.21": "1.21" -crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.22') }}" +crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.23') }}" # The crio_runtimes variable defines a list of OCI compatible runtimes. crio_runtimes: diff --git a/roles/container-engine/cri-o/vars/amazon.yml b/roles/container-engine/cri-o/vars/amazon.yml index f2a45e03011..51cb228c99a 100644 --- a/roles/container-engine/cri-o/vars/amazon.yml +++ b/roles/container-engine/cri-o/vars/amazon.yml @@ -3,6 +3,8 @@ crio_storage_driver: "overlay" crio_versioned_pkg: + "1.23": + - "cri-o-1.23.*" "1.22": - "cri-o-1.22.*" "1.21": diff --git a/roles/container-engine/cri-o/vars/centos-7.yml b/roles/container-engine/cri-o/vars/centos-7.yml index 99c3cbe8ca7..423c3322e40 100644 --- a/roles/container-engine/cri-o/vars/centos-7.yml +++ b/roles/container-engine/cri-o/vars/centos-7.yml @@ -1,5 +1,7 @@ --- crio_versioned_pkg: + "1.23": + - "cri-o-1.23.*" "1.22": - "cri-o-1.22.*" "1.21": diff --git a/roles/container-engine/cri-o/vars/centos-8.yml b/roles/container-engine/cri-o/vars/centos-8.yml index 99c3cbe8ca7..423c3322e40 100644 --- a/roles/container-engine/cri-o/vars/centos-8.yml +++ b/roles/container-engine/cri-o/vars/centos-8.yml @@ -1,5 +1,7 @@ --- crio_versioned_pkg: + "1.23": + - "cri-o-1.23.*" "1.22": - "cri-o-1.22.*" "1.21": diff --git a/roles/container-engine/cri-o/vars/debian.yml b/roles/container-engine/cri-o/vars/debian.yml index c8694c5baa8..d91ebe1c584 100644 --- a/roles/container-engine/cri-o/vars/debian.yml +++ b/roles/container-engine/cri-o/vars/debian.yml @@ -1,5 +1,8 @@ --- crio_versioned_pkg: + "1.23": + - "cri-o=1.23*" + - cri-o-runc "1.22": - "cri-o=1.22*" - cri-o-runc diff --git a/roles/container-engine/cri-o/vars/fedora.yml b/roles/container-engine/cri-o/vars/fedora.yml index 5693aea805a..dbc1a91ba23 100644 --- a/roles/container-engine/cri-o/vars/fedora.yml +++ b/roles/container-engine/cri-o/vars/fedora.yml @@ -4,7 +4,7 @@ crio_packages: - cri-tools crio_kubernetes_version_matrix: - "1.23": "1.22" + "1.23": "1.23" "1.22": "1.22" "1.21": "1.21" -crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.22') }}" +crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.23') }}" diff --git a/roles/container-engine/cri-o/vars/ubuntu.yml b/roles/container-engine/cri-o/vars/ubuntu.yml index c155ea09370..b97e0599f6d 100644 --- a/roles/container-engine/cri-o/vars/ubuntu.yml +++ b/roles/container-engine/cri-o/vars/ubuntu.yml @@ -1,5 +1,8 @@ --- crio_versioned_pkg: + "1.23": + - "cri-o=1.23*" + - cri-o-runc "1.22": - "cri-o=1.22*" - cri-o-runc