Merge pull request #24051 from rikatz/patch-2

Add curl to required packages in kubectl install
This commit is contained in:
Kubernetes Prow Robot
2020-10-06 06:54:20 -07:00
committed by GitHub
@@ -65,7 +65,7 @@ Using the latest version of kubectl helps avoid unforeseen issues.
{{< tabs name="kubectl_install" >}}
{{< tab name="Ubuntu, Debian or HypriotOS" codelang="bash" >}}
sudo apt-get update && sudo apt-get install -y apt-transport-https gnupg2
sudo apt-get update && sudo apt-get install -y apt-transport-https gnupg2 curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update