crio: add supported versions 1.20 and 1.21 and align default with k8s version (#7562)

* crio: add supported versions 1.20 and 1.21 and align default with k8s version

* cri-o: drop versions 1.17 and 1.18 from version matrix

* update note on cri-o version alignment
This commit is contained in:
Cristian Calin
2021-04-28 21:30:51 +03:00
committed by GitHub
parent 1b267b6599
commit 4c06aa98b5
2 changed files with 8 additions and 5 deletions

View File

@@ -39,11 +39,11 @@ 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.21": "1.21"
"1.20": "1.20"
"1.19": "1.19"
"1.18": "1.18"
"1.17": "1.17"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.19') }}"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.20') }}"
# The crio_runtimes variable defines a list of OCI compatible runtimes.
crio_runtimes: