Skip to content

Commit 5596c84

Browse files
authored
Merge pull request kubernetes-sigs#1800 from srm09/add-category-to-vsphere-vm
⚠️ Adds missing category field to VSphereVM CRD
2 parents 9a902ab + d5add18 commit 5596c84

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apis/v1beta1/vspherevm_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type VSphereVMStatus struct {
142142
}
143143

144144
// +kubebuilder:object:root=true
145-
// +kubebuilder:resource:path=vspherevms,scope=Namespaced
145+
// +kubebuilder:resource:path=vspherevms,scope=Namespaced,categories=cluster-api
146146
// +kubebuilder:storageversion
147147
// +kubebuilder:subresource:status
148148

config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ metadata:
99
spec:
1010
group: infrastructure.cluster.x-k8s.io
1111
names:
12+
categories:
13+
- cluster-api
1214
kind: VSphereVM
1315
listKind: VSphereVMList
1416
plural: vspherevms

0 commit comments

Comments
 (0)