Skip to content

Commit 1752c4a

Browse files
authored
Merge pull request #660 from rabbitmq/categories-all
Add RabbitmqClusters to categories all
2 parents 7b1fda7 + 3aba4eb commit 1752c4a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

api/v1beta1/rabbitmqcluster_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ import (
1919
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2020
)
2121

22-
// +kubebuilder:object:root=true
2322

24-
// RabbitmqCluster is the Schema for the RabbitmqCluster API. Each instance of this object
25-
// corresponds to a single RabbitMQ cluster.
23+
// +kubebuilder:object:root=true
2624
// +kubebuilder:subresource:status
2725
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
28-
// +kubebuilder:resource:shortName={"rmq"}
26+
// +kubebuilder:resource:shortName={"rmq"},categories=all
27+
// RabbitmqCluster is the Schema for the RabbitmqCluster API. Each instance of this object
28+
// corresponds to a single RabbitMQ cluster.
2929
type RabbitmqCluster struct {
3030
// Embedded metadata identifying a Kind and API Verison of an object.
3131
// For more info, see: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#TypeMeta

config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ metadata:
1616
spec:
1717
group: rabbitmq.com
1818
names:
19+
categories:
20+
- all
1921
kind: RabbitmqCluster
2022
listKind: RabbitmqClusterList
2123
plural: rabbitmqclusters

0 commit comments

Comments
 (0)