-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Is your feature request related to a problem? Please describe.
Some users might want to decouple the creation of a rabbitmqcluster from using messaging-topology operator to manage resources on it. Think of it as "Bring my own RabbitMQ". Currently I do not see a way to do this, since all the existing resources require a reference to RabbitMQCluster, for example here:
https://github.com/rabbitmq/messaging-topology-operator/blob/main/api/v1beta1/binding_types.go#L43
And seems like we don't really need the rabbitmqcluster reference except to pull in the connection information so that we can create the client connection, so wondering if we could investigate providing a mechanism to be able to specify the connection information (say in a secret with predefined fields for example) so that we could support the use case for bringing your own existing RabbitMQ broker and not require that it be created via the RabbitMQCluster operator.
https://github.com/rabbitmq/messaging-topology-operator/blob/main/internal/rabbitmq_client_factory.go#L76
Describe the solution you'd like
Perhaps instead of requiring that the credentials for the connection come from RabbitMQCluster reference:
https://github.com/rabbitmq/messaging-topology-operator/blob/main/api/v1beta1/binding_types.go#L43
We could add another way to specify required connection information to be able to connect to existing RabbitMQ clusters?
Describe alternatives you've considered
I don't currently see a way to support this use case because you must use a RabbitMQClusterReference.
Additional context
Add any other context or screenshots about the feature request here.