Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: installation on eks #349

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

richardcase
Copy link
Contributor

What this PR does / why we need it:

There is an issue installing Rancher Turtles on EKS using the chart as the kubernetes version in EKS doesn't follow semver. For example, EKS will return a version like v1.26.12-eks-5e0fdde and this means that we then try and pull the docker.io/rancher/kubectl:v1.26.12-eks-5e0fdde image when performing the cleanup tasks.

The function to strip the suffix from the kubernetes version has been updated to handle EKS, AKS and GKE.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #347

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes

There is an issue installing Rancher Turtles on EKS using the chart as
the kubernetes version in EKS doesn't follow semver. For example, EKS
will return a version like `v1.26.12-eks-5e0fdde` and this means that we
then try and pull the `docker.io/rancher/kubectl:v1.26.12-eks-5e0fdde`
image when performing the cleanup tasks.

The function to strip the suffix from the kubernetes version has been
updated to handle EKS, AKS and GKE.

Signed-off-by: Richard Case <richard.case@suse.com>
@richardcase richardcase added kind/bug Something isn't working area/build-and-release Indicates issue or PR related to build or release labels Jan 17, 2024
@richardcase richardcase requested a review from a team as a code owner January 17, 2024 14:48
@richardcase richardcase merged commit 81ca0ea into rancher:main Jan 17, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-and-release Indicates issue or PR related to build or release kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing Rancher Turtles on EKS fails
3 participants