-
Notifications
You must be signed in to change notification settings - Fork 1.5k
azure: validation: avoid specifying capabilities twice #5952
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
azure: validation: avoid specifying capabilities twice #5952
Conversation
|
/test e2e-azure |
|
/cc barbacbd |
518ef96 to
2878e13
Compare
|
/test e2e-azure |
barbacbd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/retest-required |
1 similar comment
|
/retest-required |
|
/assign @patrickdillon |
Instead, use the capabilities map to generate Azure types. It's much easier to add capabilities to a simple string map and then have that automatically converted to Azure API types. We also make sure that both vmCapabilities and instanceTypeSku are always in sync.
2878e13 to
d39739d
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
barbacbd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/retest |
|
/skip This PR only touches on the Azure unit tests. |
|
@r4f4: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Instead, use the capabilities map to generate Azure types. It's much
easier to add capabilities to a simple string map and then have that
automatically converted to Azure API types. We also make sure that both
vmCapabilities and instanceTypeSku are always in sync.