Make it easy to install the latest release of kubectl
Debian and RPM packages #3877
Open
Description
isnt there a way to install latest version rather than going through the same installation process for each new version
many poeple like to be mostly up to date
this was a good workaround but it's not working now
kv=$( curl -L -s https://dl.k8s.io/release/stable.txt | cut -f1,2 -d'.' )
curl -fsSL https://pkgs.k8s.io/core:/stable:/$kv/deb/Release.key | sudo gpg --dearmor -o /usr/share/keyrings/kubernetes.gpg;
echo "deb [signed-by=/usr/share/keyrings/kubernetes.gpg] https://pkgs.k8s.io/core:/stable:/${kv}/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list
but recently we need to delete the patch number from version ( b in semantic versioning vM.m.p-build )
cant you make an alise for latest
version in these links
https://pkgs.k8s.io/core:/stable:/latest/deb/Release.key
https://pkgs.k8s.io/core:/stable:/latest/deb/
Metadata
Assignees
Labels
Categorizes issue or PR as related to a new feature.Indicates that an issue or PR should not be auto-closed due to staleness.Higher priority than priority/awaiting-more-evidence.Categorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG Release.Indicates an issue or PR is ready to be actively worked on.
Type
Projects
Status
No status