-
Notifications
You must be signed in to change notification settings - Fork 288
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
Replace snow instance type exact match with regex validation #4895
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4895 +/- ##
=======================================
Coverage 71.61% 71.62%
=======================================
Files 419 419
Lines 34210 34207 -3
=======================================
Hits 24501 24501
+ Misses 8179 8177 -2
+ Partials 1530 1529 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ef3a8ef
to
3e5c367
Compare
/lgtm |
/cherrypick release-0.14 |
@jiayiwang7: #4895 failed to apply on top of branch "release-0.14":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issue #, if available:
#4889 and #4891 introduced new snow instance type validation where we fetch the instance type metadata dynamically from aws go SDK
DescribeInstanceTypes
and see if the instance type specified in eachSnowMachineConfig
is within the supported instance type list and is valid.Description of changes:
This PR removes the exact match of the snow instance type in API context unaware validation, and replace it with regex, which is more flexible and will support newer instance type in the future.
Testing (if applicable):
Unit tests + manual e2e
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.