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

helm: Fix siToBytes to work with power-of-ten suffixes #7506

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

narqo
Copy link
Contributor

@narqo narqo commented Feb 29, 2024

What this PR does

These changes fix the siToBytes helper function of Helm chart to work with power-of-ten suffixes.

Which issue(s) this PR fixes or relates to

Fixes #7485

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@narqo narqo requested a review from a team as a code owner February 29, 2024 14:26
Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good but I'd like to see a test case that uses these new suffixes if possible. Thanks!

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
@narqo
Copy link
Contributor Author

narqo commented Mar 1, 2024

I didn't find a good place where to put these tests in the existing suites, so decided to create a new one, specifically for possible regressions in requests and limits.

Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@56quarters 56quarters merged commit 8b91b8e into main Mar 4, 2024
31 checks passed
@56quarters 56quarters deleted the 7485-fix-helm-parse-si branch March 4, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants