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: Update handling of version strings in Helm template and helpers.tpl #845

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

HJJ256
Copy link

@HJJ256 HJJ256 commented Jan 28, 2025

What type of PR is this?
/kind bug

What this PR does / why we need it:
The current master branch was not able to handle version strings like v1.30.8-eks-2d5f260 which is prevalent for AWS EKS. This causes HAMi charts installation failure as the minor version checking condition defaults to false and old parameters are used.
Also currently, scheduler imageTag needs to be set every time we have versions like v1.30.8-eks-2d5f260. However changing the definition of strippedKubeVersion in _helpers.tpl to a more general regexReplaceAll command solves this while being backwards compatible.

Which issue(s) this PR fixes:
Fixes #
#744
#791
Special notes for your reviewer: This PR will help Project HAMi to get deployed on various cloud-based Kubernetes clusters.

Does this PR introduce a user-facing change?: No

@HJJ256 HJJ256 changed the base branch from master to dev January 28, 2025 22:36
@HJJ256 HJJ256 changed the base branch from dev to master January 28, 2025 22:36
@HJJ256 HJJ256 changed the title Update handling of version strings in Helm template and helpers.tpl Fix: Update handling of version strings in Helm template and helpers.tpl Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant