Adding one line code for installation of kubectl

Hi There, When I follow these instructions, I could not install correctly kubectl.  After kubectl file downloading, That file needs to be given execution permission.
I want to contribute for that.  Best regards.
This commit is contained in:
Yılmaz ŞEN
2021-06-04 11:19:25 +03:00
committed by GitHub
parent dce880dc42
commit cd04c8a1f6
@@ -31,6 +31,7 @@ The following methods exist for installing kubectl on macOS:
{{< tabs name="download_binary_macos" >}}
{{< tab name="Intel" codelang="bash" >}}
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"
chmod +x kubectl
{{< /tab >}}
{{< tab name="Apple Silicon" codelang="bash" >}}
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl"