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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
fbauzac 2024-03-13 15:17:35 +01:00 committed by GitHub
parent 9319773960
commit d798896198
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 >}}