Skip to content

Commit

Permalink
Use RHEL upstream docker repo instead of abandoned CentOS (#407)
Browse files Browse the repository at this point in the history
Sister commit of kubermatic/kubeone#3316

Signed-off-by: Artiom Diomin <[email protected]>
  • Loading branch information
kron4eg authored Jul 25, 2024
1 parent 75e6ecd commit 5503e90
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 24 deletions.
4 changes: 1 addition & 3 deletions deploy/osps/default/osp-amzn2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ spec:
{{ .ContainerRuntimeConfig }}
templates:
containerRuntimeInstallation: |-
yum install -y \
containerd-1.7* \
yum-plugin-versionlock
yum install -y containerd-1.7* yum-plugin-versionlock
yum versionlock add containerd
systemctl daemon-reload
Expand Down
7 changes: 1 addition & 6 deletions deploy/osps/default/osp-centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,7 @@ spec:
templates:
containerRuntimeInstallation: |-
yum install -y yum-utils
yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
{{- /*
Due to DNF modules we have to do this on docker-ce repo
More info at: https://bugzilla.redhat.com/show_bug.cgi?id=1756473
*/}}
yum-config-manager --save --setopt=docker-ce-stable.module_hotfixes=true
yum-config-manager --add-repo=https://download.docker.com/linux/rhel/docker-ce.repo
yum install -y containerd.io-1.7* yum-plugin-versionlock
yum versionlock add containerd.io
Expand Down
7 changes: 1 addition & 6 deletions deploy/osps/default/osp-rhel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,7 @@ spec:
templates:
containerRuntimeInstallation: |-
yum install -y yum-utils
yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
{{- /*
Due to DNF modules we have to do this on docker-ce repo
More info at: https://bugzilla.redhat.com/show_bug.cgi?id=1756473
*/}}
yum-config-manager --save --setopt=docker-ce-stable.module_hotfixes=true
yum-config-manager --add-repo=https://download.docker.com/linux/rhel/docker-ce.repo
yum install -y containerd.io-1.7* yum-plugin-versionlock
yum versionlock add containerd.io
Expand Down
7 changes: 1 addition & 6 deletions deploy/osps/default/osp-rockylinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,7 @@ spec:
templates:
containerRuntimeInstallation: |-
yum install -y yum-utils
yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
{{- /*
Due to DNF modules we have to do this on docker-ce repo
More info at: https://bugzilla.redhat.com/show_bug.cgi?id=1756473
*/}}
yum-config-manager --save --setopt=docker-ce-stable.module_hotfixes=true
yum-config-manager --add-repo=https://download.docker.com/linux/rhel/docker-ce.repo
yum install -y containerd.io-1.7* yum-plugin-versionlock
yum versionlock add containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ spec:
systemctl disable --now firewalld || true
yum install -y yum-utils
yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
yum-config-manager --save --setopt=docker-ce-stable.module_hotfixes=true
yum-config-manager --add-repo=https://download.docker.com/linux/rhel/docker-ce.repo
yum install -y containerd.io-1.7* yum-plugin-versionlock
yum versionlock add containerd.io
Expand Down

Large diffs are not rendered by default.

0 comments on commit 5503e90

Please sign in to comment.