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 numerical resource ranges #991

Merged
merged 2 commits into from Sep 5, 2023
Merged

Fix numerical resource ranges #991

merged 2 commits into from Sep 5, 2023

Conversation

rbren
Copy link
Member

@rbren rbren commented Aug 31, 2023

This PR fixes an issue when parsing numerical resource ranges

Fixes issue #979

This one was really hard to track down. It actually doesn't trip up our tests, because we parse and validate known Kinds properly. The issue seems to be for unknown resources like the BuildConfig referenced in #979

I've validated that the case provided in the issue now works.

Checklist

  • I have signed the CLA
  • I have updated/added any relevant documentation

Description

What's the goal of this PR?

Support numerical CPU and memory amounts

What changes did you make?

Add a case to handle numbers

What alternative solution should we consider, if any?

@rbren rbren requested a review from mggude as a code owner August 31, 2023 17:54
@fairwinds-insights
Copy link

Fairwinds Insights CI Report

View the Full Report

✅ No new Action Items detected!

Copy link
Member

@sudermanjr sudermanjr left a comment

Choose a reason for hiding this comment

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

LGTM. Love the tests

@sudermanjr sudermanjr enabled auto-merge (squash) September 5, 2023 17:15
@sudermanjr sudermanjr merged commit 9768776 into master Sep 5, 2023
7 checks passed
@sudermanjr sudermanjr deleted the rb/fix-range-numbers branch September 5, 2023 17:15
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.

None yet

3 participants