Skip to content

Commit 27fc416

Browse files
authored
Add LXCCluster and LXCMachine under 'cluster-api' category (#65)
Signed-off-by: Angelos Kolaitis <[email protected]>
1 parent f2c024c commit 27fc416

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

api/v1alpha2/lxccluster_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ type LXCClusterV1Beta2Status struct {
208208
// +kubebuilder:printcolumn:name="Load Balancer",type="string",JSONPath=".spec.controlPlaneEndpoint.host",description="Load Balancer address"
209209
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Cluster infrastructure is ready"
210210
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of LXCCluster"
211+
// +kubebuilder:resource:categories=cluster-api
211212

212213
// LXCCluster is the Schema for the lxcclusters API.
213214
type LXCCluster struct {

api/v1alpha2/lxcmachine_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ type LXCMachineV1Beta2Status struct {
168168
// +kubebuilder:printcolumn:name="ProviderID",type="string",JSONPath=".spec.providerID",description="Provider ID"
169169
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Machine ready status"
170170
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of LXCMachine"
171+
// +kubebuilder:resource:categories=cluster-api
171172

172173
// LXCMachine is the Schema for the lxcmachines API.
173174
type LXCMachine struct {

config/crd/bases/infrastructure.cluster.x-k8s.io_lxcclusters.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
spec:
99
group: infrastructure.cluster.x-k8s.io
1010
names:
11+
categories:
12+
- cluster-api
1113
kind: LXCCluster
1214
listKind: LXCClusterList
1315
plural: lxcclusters

config/crd/bases/infrastructure.cluster.x-k8s.io_lxcmachines.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
spec:
99
group: infrastructure.cluster.x-k8s.io
1010
names:
11+
categories:
12+
- cluster-api
1113
kind: LXCMachine
1214
listKind: LXCMachineList
1315
plural: lxcmachines

0 commit comments

Comments
 (0)