From ca86dbef1b01d450ef586c690d35ae8589cc08c6 Mon Sep 17 00:00:00 2001 From: Benjamin Goodacre Date: Tue, 18 Jul 2023 19:58:00 +0000 Subject: [PATCH] Dearmour apt-key.gpg repo key for kubernetes repo, fixes #86 * This is now presented as being ascii-armoured and apt apprently cannot handle ascii-armoured files --- service/kubernetes/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/kubernetes/scripts/install.sh b/service/kubernetes/scripts/install.sh index 11a389c..96738cc 100644 --- a/service/kubernetes/scripts/install.sh +++ b/service/kubernetes/scripts/install.sh @@ -2,7 +2,7 @@ set -e # https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management (yes, `xenial` is correct even for newer Ubuntu versions) -curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg +curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmour -o /etc/apt/keyrings/docker.gpg