Add command for creating missing keyring dir

pull/42338/head
TeamDman 2023-08-01 12:07:03 -04:00 committed by GitHub
parent 2c969da512
commit fb609943b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ The following methods exist for installing kubectl on Linux:
{{< note >}} {{< note >}}
In releases older than Debian 12 and Ubuntu 22.04, `/etc/apt/keyrings` does not exist by default. In releases older than Debian 12 and Ubuntu 22.04, `/etc/apt/keyrings` does not exist by default.
You can create this directory if you need to, making it world-readable but writeable only by admins. You can create this directory if you need to, making it world-readable but writeable only by admins.
```shell
sudo mkdir -m 755 /etc/apt/keyrings
```
{{< /note >}} {{< /note >}}
{{% /tab %}} {{% /tab %}}