From 4d92c5bd01b96bb797c943d01f842690b99a054e Mon Sep 17 00:00:00 2001 From: Alan Greene Date: Fri, 8 Sep 2023 23:00:59 +0100 Subject: [PATCH] Switch to new k8s package repositories From September 13th the legacy Google-hosted package repositories will be frozen and all future releases will only be posted to the new community-owned package repositories at pkgs.k8s.io --- packages/e2e/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/e2e/Dockerfile b/packages/e2e/Dockerfile index 27f037e9e..7527dc9f2 100644 --- a/packages/e2e/Dockerfile +++ b/packages/e2e/Dockerfile @@ -10,8 +10,9 @@ # limitations under the License. FROM cypress/browsers:node18.12.0-chrome107 -RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://dl.k8s.io/apt/doc/apt-key.gpg &&\ - echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list &&\ +RUN apt-get update && apt-get install -y gpg &&\ + curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg --dearmor -o /usr/share/keyrings/kubernetes-apt-keyring.gpg &&\ + echo "deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /" | tee /etc/apt/sources.list.d/kubernetes.list &&\ apt-get update && apt-get install -y \ kubectl \ && rm -rf /var/lib/apt/lists/*