Closed deboer-tim closed 1 month ago
The problem may occurs when a patch for an older version is released.
As of today (30 Jul 2024) the latest release a patch for version 1.27.X
The workflow to detect the latest release is the following:
getting the latest 10 releases
filtering the pre-releases
takes the first one https://github.com/containers/podman-desktop/blob/164e60633f067a1b32c2c8cc360a99d8b2d30236/extensions/kubectl-cli/src/download.ts#L40
This as some limitation, which has been shown here with this issue.
We started using semvers
in AI Lab and Podman Desktop for parsing versions. We could use it, as kubernetes is following a semantic version format, to get check for new version in the latest 10 we fetched.
Bug description
As reported by a user through feedback, if you have kubectl 1.30 installed we currently recommend an 'upgrade' to 1.27:
Operating system
macOS 14.5
Installation Method
None
Version
next (development version)
Steps to reproduce
No response
Relevant log output
No response
Additional context
No response