From 389b84210f04a0a7682a0e013ff58af81c91c6b3 Mon Sep 17 00:00:00 2001 From: MattTheCuber Date: Mon, 29 May 2023 16:43:05 -0400 Subject: [PATCH] Update apt keyring installation (Chinese) --- .../production-environment/tools/kubeadm/install-kubeadm.md | 2 +- content/zh-cn/docs/tasks/tools/install-kubectl-linux.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 09cda86157408..e64803e332aa3 100644 --- a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -288,7 +288,7 @@ For more information on version skews, see: 2. 下载 Google Cloud 公开签名秘钥: ```shell - sudo 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 ```