Skip to content

Commit 6888eba

Browse files
authored
Merge pull request #41366 from dipesh-rawat/kubectl-apt-key-fix
Resolve GPG Key issue preventing kubectl installation
2 parents 0b7f73c + c1c805f commit 6888eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ The following methods exist for installing kubectl on Linux:
157157
2. Download the Google Cloud public signing key:
158158

159159
```shell
160-
sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
160+
curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
161161
```
162162

163163
3. Add the Kubernetes `apt` repository:

0 commit comments

Comments
 (0)