mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-24 14:36:04 -03:30
bump crio version to 1.19 (#6758)
* bump crio version to 1.19 * crio package name has changed for debian/ubuntu * crio upgrade does not work, see #6757 * update crio info in docs
This commit is contained in:
@@ -24,8 +24,8 @@ 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.19": "1.19"
|
||||
"1.18": "1.18"
|
||||
"1.17": "1.17"
|
||||
"1.16": "1.16"
|
||||
|
||||
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.17') }}"
|
||||
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.19') }}"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
crio_kubic_debian_repo_name: "{{ ((ansible_distribution == 'Ubuntu') | ternary('x','')) ~ ansible_distribution ~ '_' ~ ansible_distribution_version }}"
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Add CRI-O kubic repo key
|
||||
- name: Add CRI-O kubic apt repo key
|
||||
apt_key:
|
||||
url: "https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/{{ crio_kubic_debian_repo_name }}/Release.key"
|
||||
state: present
|
||||
@@ -15,14 +15,21 @@
|
||||
retries: 4
|
||||
delay: "{{ retry_stagger | d(3) }}"
|
||||
|
||||
- name: Add CRI-O kubic repo
|
||||
- name: Add CRI-O kubic apt repo
|
||||
apt_repository:
|
||||
repo: "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/{{ crio_kubic_debian_repo_name }}/ /"
|
||||
state: present
|
||||
filename: devel:kubic:libcontainers:stable
|
||||
filename: devel-kubic-libcontainers-stable
|
||||
when: crio_kubic_debian_repo_name is defined
|
||||
|
||||
- name: Add CRI-O kubic repo
|
||||
- name: Add CRI-O kubic cri-o apt repo
|
||||
apt_repository:
|
||||
repo: "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/{{ crio_kubic_debian_repo_name }}/ /"
|
||||
state: present
|
||||
filename: devel-kubic-libcontainers-stable-cri-o
|
||||
when: crio_kubic_debian_repo_name is defined
|
||||
|
||||
- name: Add CRI-O kubic yum repo
|
||||
yum_repository:
|
||||
name: devel_kubic_libcontainers_stable
|
||||
description: Stable Releases of Upstream github.com/containers packages (CentOS_$releasever)
|
||||
@@ -31,7 +38,7 @@
|
||||
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/repodata/repomd.xml.key
|
||||
when: ansible_distribution in ["CentOS"]
|
||||
|
||||
- name: Add CRI-O kubic repo
|
||||
- name: Add CRI-O kubic yum repo
|
||||
yum_repository:
|
||||
name: "devel_kubic_libcontainers_stable_cri-o_{{ crio_version }}"
|
||||
description: "CRI-O {{ crio_version }} (CentOS_$releasever)"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
crio_packages:
|
||||
- "cri-o-{{ crio_version }}"
|
||||
- runc
|
||||
- "cri-o"
|
||||
- "cri-o-runc"
|
||||
|
||||
crio_runc_path: /usr/sbin/runc
|
||||
|
||||
@@ -4,3 +4,10 @@ crio_packages:
|
||||
- cri-tools
|
||||
|
||||
crio_conmon: /usr/libexec/crio/conmon
|
||||
|
||||
# TODO: remove crio_kubernetes_version_matrix and crio_version once Fedora supports 1.19
|
||||
crio_kubernetes_version_matrix:
|
||||
"1.18": "1.18"
|
||||
"1.17": "1.17"
|
||||
|
||||
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.17') }}"
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
---
|
||||
|
||||
crio_packages:
|
||||
- "cri-o-{{ crio_version }}"
|
||||
- "cri-o"
|
||||
- "cri-o-runc"
|
||||
|
||||
crio_runc_path: /usr/sbin/runc
|
||||
|
||||
crio_kubernetes_version_matrix:
|
||||
"1.18": "1.17"
|
||||
"1.17": "1.17"
|
||||
"1.16": "1.16"
|
||||
|
||||
Reference in New Issue
Block a user