vmware / govmomi

Go library for the VMware vSphere API
Apache License 2.0
2.31k stars 913 forks source link

Support installation of Carvel-type Supervisor Service packages #3624

Open rosenhouse opened 2 hours ago

rosenhouse commented 2 hours ago

Is your feature request related to a problem? Please describe. I want to use govc to install and activate a Carvel supervisor service.

Describe the solution you'd like Enhance govc namespace.service.create and supporting library functions to work with Carvel manifests.

Describe alternatives you've considered 🤷 Writing my own Go library to drive the relevant APIs? Using the Python SDK instead?

Additional context It appears that #2668 and #2690 introduced partial support for vsphere type Supervisor Services, but not Carvel-type.

dougm commented 2 hours ago

Looks like we need to add carvel_spec, currently only vsphere_spec is supported in govmomi: https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/api/vcenter/namespace-management/supervisor-services/post/