From 3aba4eb6261fc02bf2414d98cf8ca71ac09db68c Mon Sep 17 00:00:00 2001 From: Chunyi Lyu Date: Tue, 13 Apr 2021 14:12:12 +0100 Subject: [PATCH] Add RabbitmqClusters to categories all --- api/v1beta1/rabbitmqcluster_types.go | 8 ++++---- config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) 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