Closed lookuptable closed 9 months ago
@lookuptable Thank you for your contribution.
Thank you @lookuptable for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.
/lgtm
What this PR does / why we need it:
The version format of GKE clusters is $K8S_VERSION-gke.$INTERNAL_NUMBER (e.g., 1.27.9-gke.300). This format is not fully compliant to the SEMVER spec and causes this library to mistakenly recognize, for example, a 1.27.9-gke.300 cluster to be older than 1.21. This is a known issue (e.g., https://github.com/helm/helm/issues/3810), and this change updates the version constraint to properly support GKE versions.
Which issue(s) this PR fixes: N/A
Special notes for your reviewer: N/A
Release note:
NONE