-
Notifications
You must be signed in to change notification settings - Fork 523
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
SPLAT-1808: Add vSphere multi disk support #2028
Conversation
Skipping CI for Draft Pull Request. |
Hello @vr4manta! Some important instructions when contributing to openshift/api: |
/test all |
Do you have a Jira ticket for this work? I'm trying to research disk support in openshift and this is of interest to me. |
/retest |
@kannon92 , We are investigating this as well. I am using our spike to track the work and am getting stories / epic information for you. I'll attach the JIRAs to the PR above as well. |
70f7f59
to
682c24c
Compare
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.
overall lgtm, i left a couple of comments. also, will there be a need for additional unit tests?
@@ -172,6 +179,15 @@ type NetworkDeviceSpec struct { | |||
AddressesFromPools []AddressesFromPool `json:"addressesFromPools,omitempty"` | |||
} | |||
|
|||
// VSphereDisk describes additional disks for vSphere. | |||
type VSphereDisk struct { | |||
// The device name exposed. Used to identify the disk. |
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.
if not defined, what is the behavior? is a disk created for you?
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.
If you do not specify a device name, it will still create the disk with the size you defined. The deviceName field is to be used by admin to sort of remind them what disk is meant to be used for (if they so desire).
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.
So upstream recommended we use name as map for the devices. So this logic now requires a name and that name will be unique based on map / name.
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.
You mean like a +listType=map
?
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.
Yes, exactly.
Unit tests are in the webhook for MAO. The CEL is being ignored based on current behavior of provider specs. |
/assign @JoelSpeed |
@vr4manta: This pull request references SPLAT-1808 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
/lgtm |
d552e8b
to
acd91e6
Compare
78abbaa
to
e09483b
Compare
a206d3e
to
b8357fa
Compare
@vr4manta How are you getting on with upstream WRT this feature? |
This is now merged. It merged during the holidays. I am updating any code related to this PR and will have ready shortly. Thanks! |
95334dd
to
6aeca79
Compare
/unhold |
/lgtm |
/retest |
@vr4manta: This pull request references SPLAT-1808 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
@vr4manta: all tests passed! Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, rvanderp3, vr4manta 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 |
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-config-api |
SPLAT-1808
Changes
Blocks
Notes