Support deploying kubernetes 1.23 (#8323)

* Ensure entries for 1.23 are added for supported_versions vars

* cri-o: add support for kubernetes 1.23 but still use cri-o 1.22

* kubescheduler-config: diferentiate config versions based on kube_version
This commit is contained in:
Cristian Calin
2021-12-21 11:38:46 +02:00
committed by GitHub
parent b49ae8c21d
commit c1954ff918
5 changed files with 14 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ crio_stream_port: "10010"
crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"
crio_kubernetes_version_matrix:
"1.23": "1.22"
"1.22": "1.22"
"1.21": "1.21"
"1.20": "1.20"

View File

@@ -4,7 +4,8 @@ crio_packages:
- cri-tools
crio_kubernetes_version_matrix:
"1.23": "1.22"
"1.22": "1.22"
"1.21": "1.21"
"1.20": "1.20"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.20') }}"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.22') }}"