Update content/en/docs/tasks/tools/install-kubectl-linux.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
parent
9319773960
commit
d798896198
|
@ -146,7 +146,7 @@ The following methods exist for installing kubectl on Linux:
|
|||
```shell
|
||||
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
|
||||
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
|
||||
sudo chmod 644 /etc/apt/sources.list.d/kubernetes.list # Needed so that command-not-found works correctly
|
||||
sudo chmod 644 /etc/apt/sources.list.d/kubernetes.list # helps tools such as command-not-found to work correctly
|
||||
```
|
||||
|
||||
{{< note >}}
|
||||
|
|
Loading…
Reference in New Issue