Skip to content

Make it easy to install the latest release of kubectl Debian and RPM packages #3877

Open
@Sharaf5

Description

@Sharaf5

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

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/backlogHigher priority than priority/awaiting-more-evidence.sig/cliCategorizes an issue or PR as relevant to SIG CLI.sig/releaseCategorizes an issue or PR as relevant to SIG Release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions