Skip to content

Commit

Permalink
Mark v1a2 VirtualMachineClass as namespace scoped
Browse files Browse the repository at this point in the history
The v1a2 class is implicitly scoped because we don't have the bindings.
Note this still requires the WCP_Namespaced_VM_Class FFS, and the
generated manifest is unchanged because v1a1 is still marked as Cluster
scoped.
  • Loading branch information
bryanv committed Oct 23, 2023
1 parent 5f27ae3 commit 25b6933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha2/virtualmachineclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ type VirtualMachineClassStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster,shortName=vmclass
// +kubebuilder:resource:scope=Namespaced,shortName=vmclass
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="CPU",type="string",JSONPath=".spec.hardware.cpus"
Expand Down

0 comments on commit 25b6933

Please sign in to comment.