virt-api: Add namespaced expand-vm-spec to subresources APIResourceList
The namespaced expand-vm-spec endpoint variant was missing from the
subresource APIResourceLists.
@@ -521,6 +521,10 @@ func (app *virtAPIApp) composeSubresources() {
list.GroupVersion = version.Group + "/" + version.Version
list.APIVersion = version.Version
list.APIResources = []metav1.APIResource{
+ {
+ Name: "expand-vm-spec",
+ Namespaced: true,
+ },
{
Name: "virtualmachineinstances/vnc",
Namespaced: true,
