Skip to content

Commit

Permalink
Revert "Mark v1a2 VirtualMachineClass as namespace scoped"
Browse files Browse the repository at this point in the history
This reverts commit 25b6933.

While apparently very biased towards v1a1, the controller-gen manifest
output is not deterministic. Since this change was just for
informational purposes - the Scope field is fixed up later - revert
this change.
  • Loading branch information
bryanv committed Nov 8, 2023
1 parent 955a2ad commit a9ca59b
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=Namespaced,shortName=vmclass
// +kubebuilder:resource:scope=Cluster,shortName=vmclass
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="CPU",type="string",JSONPath=".spec.hardware.cpus"
Expand Down

0 comments on commit a9ca59b

Please sign in to comment.