rabbitmq / cluster-operator

RabbitMQ Cluster Kubernetes Operator
https://www.rabbitmq.com/kubernetes/operator/operator-overview.html
Mozilla Public License 2.0
883 stars 273 forks source link

Add connection_string to the default_user secret #1722

Closed hxyannay closed 2 months ago

hxyannay commented 2 months ago

Is your feature request related to a problem? Please describe. Currently the default_user secret has the connection credentials, but it does not have a formatted connection_string that is directly usable. When using the operator in my code it is not a problem because I can build the connection_string myself, but I am trying to use KEDA to autoscale my pods based on the RabbitMQ queue state, and KEDA needs a connection_string to be able to connect to RabbitMQ, thus making it already available very valuable.

Describe the solution you'd like Another key in the secret with the fully built connection_string.

hxyannay commented 2 months ago

Opened #1721 to address that :) Would love if someone could take a look!