From 38bc66b37f8fdc2ff2ad19e12c1c5cdc85532b34 Mon Sep 17 00:00:00 2001 From: Fabrice Jammes Date: Sun, 24 Mar 2024 21:48:12 +0100 Subject: [PATCH] Update current feature --- 0_kubeadm/resource/ubuntu/prereq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0_kubeadm/resource/ubuntu/prereq.sh b/0_kubeadm/resource/ubuntu/prereq.sh index c1861fc..20671ed 100755 --- a/0_kubeadm/resource/ubuntu/prereq.sh +++ b/0_kubeadm/resource/ubuntu/prereq.sh @@ -64,7 +64,7 @@ sudo mkdir -p /etc/apt/keyrings sudo rm -f /etc/apt/keyrings/kubernetes-apt-keyring.gpg curl -fsSL https://pkgs.k8s.io/core:/stable:/"$K8S_VERSION"/deb/Release.key | sudo gpg --batch --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg # This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list -echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/"$K8S_VERSION"/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list +echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/'"$K8S_VERSION"'/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list sudo apt-get update apt-get install -y --allow-downgrades --allow-change-held-packages \