diff --git a/api/v1beta1/rabbitmqcluster_types.go b/api/v1beta1/rabbitmqcluster_types.go index 8693deed7..d03484d7d 100644 --- a/api/v1beta1/rabbitmqcluster_types.go +++ b/api/v1beta1/rabbitmqcluster_types.go @@ -19,13 +19,13 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) -// +kubebuilder:object:root=true -// RabbitmqCluster is the Schema for the RabbitmqCluster API. Each instance of this object -// corresponds to a single RabbitMQ cluster. +// +kubebuilder:object:root=true // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" -// +kubebuilder:resource:shortName={"rmq"} +// +kubebuilder:resource:shortName={"rmq"},categories=all +// RabbitmqCluster is the Schema for the RabbitmqCluster API. Each instance of this object +// corresponds to a single RabbitMQ cluster. type RabbitmqCluster struct { // Embedded metadata identifying a Kind and API Verison of an object. // For more info, see: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#TypeMeta diff --git a/config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml b/config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml index 112e9b327..6da87810c 100644 --- a/config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml +++ b/config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml @@ -16,6 +16,8 @@ metadata: spec: group: rabbitmq.com names: + categories: + - all kind: RabbitmqCluster listKind: RabbitmqClusterList plural: rabbitmqclusters