Skip to content

Commit 357ebfe

Browse files
authored
Merge pull request #984 from rabbitmq/api-category
Add rmq cluster to 'rabbitmq' category
2 parents 8c9dd78 + 86a2e12 commit 357ebfe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/v1beta1/rabbitmqcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
// +kubebuilder:printcolumn:name="AllReplicasReady",type="string",JSONPath=".status.conditions[?(@.type == 'AllReplicasReady')].status"
2626
// +kubebuilder:printcolumn:name="ReconcileSuccess",type="string",JSONPath=".status.conditions[?(@.type == 'ReconcileSuccess')].status"
2727
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
28-
// +kubebuilder:resource:shortName={"rmq"},categories=all
28+
// +kubebuilder:resource:shortName={"rmq"},categories=all;rabbitmq
2929
// RabbitmqCluster is the Schema for the RabbitmqCluster API. Each instance of this object
3030
// corresponds to a single RabbitMQ cluster.
3131
type RabbitmqCluster struct {

config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ apiVersion: apiextensions.k8s.io/v1
1010
kind: CustomResourceDefinition
1111
metadata:
1212
annotations:
13-
controller-gen.kubebuilder.io/version: v0.7.0
13+
controller-gen.kubebuilder.io/version: v0.8.0
1414
creationTimestamp: null
1515
name: rabbitmqclusters.rabbitmq.com
1616
spec:
1717
group: rabbitmq.com
1818
names:
1919
categories:
2020
- all
21+
- rabbitmq
2122
kind: RabbitmqCluster
2223
listKind: RabbitmqClusterList
2324
plural: rabbitmqclusters

config/rbac/role.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#
77
# This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file.
88

9-
109
---
1110
apiVersion: rbac.authorization.k8s.io/v1
1211
kind: ClusterRole

0 commit comments

Comments
 (0)