Skip to content

Commit 6ea3eb6

Browse files
author
Andrea Scarpino
committed
Replace old kubernetes repo
1 parent cb0af59 commit 6ea3eb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root/usr/local/sbin/install_container_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ apt-get install -y \
1717
software-properties-common
1818

1919
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
20-
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
20+
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | apt-key add -
2121

2222
RELEASE=$(lsb_release -cs)
2323

2424
add-apt-repository \
2525
"deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $RELEASE stable"
2626

2727
add-apt-repository \
28-
"deb http://apt.kubernetes.io/ kubernetes-xenial main"
28+
"deb https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /"
2929

3030
apt-get update -y
3131
apt-get install -y docker-ce docker-compose kubelet kubeadm kubectl

0 commit comments

Comments
 (0)