⚠️ Standardize flavor in OpenStackMachine#3087
⚠️ Standardize flavor in OpenStackMachine#3087nikParasyr wants to merge 2 commits intokubernetes-sigs:mainfrom
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
d868978 to
2a5f241
Compare
6650135 to
cf319fc
Compare
|
/test pull-cluster-api-provider-openstack-e2e-full-test |
1 similar comment
|
/test pull-cluster-api-provider-openstack-e2e-full-test |
cf319fc to
7f88ec8
Compare
|
/test pull-cluster-api-provider-openstack-e2e-full-test |
6763918 to
050c69d
Compare
Update v1beta2 to standardize flavor into a struct of ID and Filter, similar to other fields.
050c69d to
30a045e
Compare
|
/test pull-cluster-api-provider-openstack-e2e-full-test |
bnallapeta
left a comment
There was a problem hiding this comment.
Mostly looks good. Minor comments.
| type FlavorParam struct { | ||
| // ID is the uuid of the flavor. ID will not be validated before use. | ||
| // +optional | ||
| ID optional.String `json:"id,omitempty"` |
There was a problem hiding this comment.
Q: If ImageParam.ID is required, then FlavourParam also should be required no?
| return f.Name == nil && len(f.Tags) == 0 | ||
| } | ||
|
|
||
| // FlavorParam describes a nova flavor. It can be specified by ID or filter |
There was a problem hiding this comment.
perhaps add tests for this one?
3f6cb6b to
e802d5d
Compare
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
What this PR does / why we need it:
Update v1beta2 to standardize flavor into a struct of ID and Filter, similar to other fields.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #2896
Special notes for your reviewer:
TODOs:
/hold