fluent-bit-docs
fluent-bit-docs copied to clipboard
Please stop to use apt-key for install documentation
Problem
Deprecated apt-key command is used to import key.
apt-key command will be removed sooner or later.
Actual
https://github.com/fluent/fluent-bit-docs/blob/master/installation/linux/debian.md#server-gpg-key
$ wget -qO - https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -
Expected
Convert key to keyring and refer it by signed-by for example.
sudo apt-key --keyring ./fluent-bit-archive-keyring.gpg add fluentbit.key
$ cat /etc/apt/sources.list.d/fluent-bit.list
deb [signed-by=/usr/share/keyrings/fluent-bit-archive-keyring.gpg] https://packages.fluentbit.io/debian/buster buster main
Thanks for reporting @kenhys, I also feel we should mimic Fluentd all-in-one.sh script for installation. Perhaps in that installation script we can change the way keys are installed
@agup006 want me to look at this more generally for packaging? I've added repo config files as well for the Yum-style repos so rather than creating a file you can just download it.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.