From dc9af5ddd6613ddeb2f031c4bb53a98c110f8306 Mon Sep 17 00:00:00 2001 From: dttung2905 Date: Mon, 20 Jan 2025 22:03:27 +0000 Subject: [PATCH] Add vhostName to Auth Params RabbitMQ doc Signed-off-by: dttung2905 --- content/docs/2.17/scalers/rabbitmq-queue.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/docs/2.17/scalers/rabbitmq-queue.md b/content/docs/2.17/scalers/rabbitmq-queue.md index e2cc20e20..31f4fbfe1 100644 --- a/content/docs/2.17/scalers/rabbitmq-queue.md +++ b/content/docs/2.17/scalers/rabbitmq-queue.md @@ -74,6 +74,7 @@ TriggerAuthentication CRD is used to connect and authenticate to RabbitMQ: > See the [RabbitMQ Ports](https://www.rabbitmq.com/networking.html#ports) section for more details on how to configure the ports. +- `vhostName` - Vhost to use for the connection, overrides any vhost set in the connection string from `host`/`hostFromEnv`. (Optional / Required if Azure AD Workload Identity authorization is used) **Username and Password based authentication:** This allows sensitive credentials to be stored and managed separately from the connection string. @@ -106,7 +107,8 @@ kind: Secret metadata: name: keda-rabbitmq-secret data: - host: # base64 encoded value of format amqp://guest:password@localhost:5672/vhost + host: # base64 encoded value of format amqp://guest:password@localhost:5672 + vhostName: vhost --- apiVersion: keda.sh/v1alpha1 kind: TriggerAuthentication @@ -118,6 +120,9 @@ spec: - parameter: host name: keda-rabbitmq-secret key: host + - parameter: vhostName + name: keda-rabbitmq-secret + key: vhostName --- apiVersion: keda.sh/v1alpha1 kind: ScaledObject