forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable docker-ce yum repo by default / cleanups (kubernetes-sigs#7080)
Upgrading docker / containerd without adapting the configuration might break the node, so disable docker-ce repo by default. We are already using dpkg hold for Debian. All containerd.io packages provide /usr/bin/runc, so no need to check yum_conf was never used for containerd module_hotfixes should not be needed with the EL8 repo Signed-off-by: Etienne Champetier <[email protected]>
- Loading branch information
Showing
12 changed files
with
12 additions
and
58 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
2 changes: 1 addition & 1 deletion
2
roles/container-engine/containerd/templates/fedora_containerd.repo.j2
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,7 @@ | ||
[docker-ce] | ||
name=Docker-CE Repository | ||
baseurl={{ containerd_fedora_repo_base_url }} | ||
enabled=1 | ||
enabled=0 | ||
gpgcheck={{ '1' if containerd_fedora_repo_gpgkey else '0' }} | ||
gpgkey={{ containerd_fedora_repo_gpgkey }} | ||
{% if http_proxy is defined %}proxy={{ http_proxy }}{% endif %} |
5 changes: 1 addition & 4 deletions
5
roles/container-engine/containerd/templates/rh_containerd.repo.j2
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,13 +1,10 @@ | ||
[docker-ce] | ||
name=Docker-CE Repository | ||
baseurl={{ docker_rh_repo_base_url }} | ||
enabled=1 | ||
enabled=0 | ||
gpgcheck={{ '1' if docker_rh_repo_gpgkey else '0' }} | ||
keepcache={{ docker_rpm_keepcache | default('1') }} | ||
gpgkey={{ docker_rh_repo_gpgkey }} | ||
{% if http_proxy is defined %} | ||
proxy={{ http_proxy }} | ||
{% endif %} | ||
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version|int == 8 %} | ||
module_hotfixes=True | ||
{% endif %} |
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
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,13 +1,10 @@ | ||
[docker-ce] | ||
name=Docker-CE Repository | ||
baseurl={{ docker_rh_repo_base_url }} | ||
enabled=1 | ||
enabled=0 | ||
gpgcheck={{ '1' if docker_rh_repo_gpgkey else '0' }} | ||
keepcache={{ docker_rpm_keepcache | default('1') }} | ||
gpgkey={{ docker_rh_repo_gpgkey }} | ||
{% if http_proxy is defined %} | ||
proxy={{ http_proxy }} | ||
{% endif %} | ||
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version|int == 8 %} | ||
module_hotfixes=True | ||
{% endif %} |
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