-
Notifications
You must be signed in to change notification settings - Fork 292
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
✨ add function to remove VSphere VM object from VM Group #3167
Conversation
|
[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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @abhinandanbaheti. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/easycla |
Why are we adding a function that we are seemingly not using? |
I have a use case where I need to add / remove VM's to/from VM Group through Golang API, andI didn't find a direct way to for these in the govmomi, and then found this suggestion in the (vmware/govmomi#3033 (comment)) to use CAPV. It has wrapper method to add VM in VM Group, check if VM Group exists, but doesn't have method to remove the VM from VM Group. Therefore, I have added this PR. |
I think Doug is not suggesting to use CAPV as a library I would highly recommend not depending on CAPV as a library to communicate with vSphere, because it is not a library You also get a huge amount of Go dependencies and coupling to use exactly the same Go dependencies as CAPV if you use us as a library (e.g. controller-runtime, Cluster API, ...) |
Closing this for now ^^ (also talked about it with @abhinandanbaheti) /close |
@sbueringer: Closed this PR. 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-sigs/prow repository. |
What this PR does / why we need it:
This PR adds a function to remove VSphere VM object from VM Group
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 #