-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2.14] Backport: 6758, 6853 and 7003 to fix CRI-O pkg (#7209)
* cherry-pick bump crio version to 1.19 (#6758) cherry-pick modifications: * keep default to 1.17 as release 2.14 came with * don't change readme with newer versions * 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 * Install cri-o with package version (#6853) and thereby support upgrade from e.g. 1.18.x to 1.19.y Included OSes: - Centos7/8 - Ubuntu18/20 New variables for overriding by default installed packages: - centos_crio_packages - ubuntu_crio_packages * add support crio version for varios k8s vers (#7003) * add support crio version for various k8s vers * regexp in pkg versions Co-authored-by: Hans Feldt <2808287+hafe@users.noreply.github.com> Co-authored-by: Sergey <s.bondarev@southbridge.ru>
- Loading branch information
1 parent
c267d42
commit 11b72e2
Showing
8 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
--- | ||
crio_versioned_pkg: | ||
"1.19": | ||
- "cri-o-1.19.*" | ||
"1.18": | ||
- "cri-o-1.18.*" | ||
"1.17": | ||
- "cri-o-1.17.*" | ||
|
||
crio_packages: | ||
- cri-o | ||
- oci-systemd-hook | ||
default_crio_packages: "{{ crio_versioned_pkg[crio_version] }}" | ||
|
||
crio_packages: "{{ centos_crio_packages | default(default_crio_packages) }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
--- | ||
crio_versioned_pkg: | ||
"1.19": | ||
- "cri-o-1.19.*" | ||
"1.18": | ||
- "cri-o-1.18.*" | ||
"1.17": | ||
- "cri-o-1.17.*" | ||
|
||
crio_packages: | ||
- cri-o | ||
default_crio_packages: "{{ crio_versioned_pkg[crio_version] }}" | ||
|
||
crio_packages: "{{ centos_crio_packages | default(default_crio_packages) }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
--- | ||
# Debian-10 has pkg only for cri-o 1.19 | ||
crio_kubernetes_version_matrix: | ||
"1.19": "1.19" | ||
"1.18": "1.19" | ||
"1.17": "1.19" | ||
|
||
crio_packages: | ||
- "cri-o-{{ crio_version }}" | ||
- runc | ||
crio_versioned_pkg: | ||
"1.19": | ||
- "cri-o=1.19*" | ||
- cri-o-runc | ||
|
||
default_crio_packages: "{{ crio_versioned_pkg[crio_version] }}" | ||
|
||
crio_packages: "{{ debian_crio_packages | default(default_crio_packages) }}" | ||
|
||
crio_runc_path: /usr/sbin/runc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters