Skip to content

Commit c266e73

Browse files
authored
Merge pull request #43100 from zbbfufu/patch-1
Fix sha256 url missing '/release/' to download kubectl
2 parents 375683b + b7b8e6f commit c266e73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ The following methods exist for installing kubectl on Linux:
5959

6060
{{< tabs name="download_checksum_linux" >}}
6161
{{< tab name="x86-64" codelang="bash" >}}
62-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
62+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
6363
{{< /tab >}}
6464
{{< tab name="ARM64" codelang="bash" >}}
65-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256"
65+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl.sha256"
6666
{{< /tab >}}
6767
{{< /tabs >}}
6868

@@ -263,10 +263,10 @@ Below are the procedures to set up autocompletion for Bash, Fish, and Zsh.
263263
264264
{{< tabs name="download_convert_checksum_linux" >}}
265265
{{< tab name="x86-64" codelang="bash" >}}
266-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl-convert.sha256"
266+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl-convert.sha256"
267267
{{< /tab >}}
268268
{{< tab name="ARM64" codelang="bash" >}}
269-
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl-convert.sha256"
269+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl-convert.sha256"
270270
{{< /tab >}}
271271
{{< /tabs >}}
272272

0 commit comments

Comments
 (0)