Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vhostName to Auth Params RabbitMQ doc #1525

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion content/docs/2.17/scalers/rabbitmq-queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
dttung2905 marked this conversation as resolved.
Show resolved Hide resolved
**Username and Password based authentication:**

This allows sensitive credentials to be stored and managed separately from the connection string.
Expand Down Expand Up @@ -106,7 +107,8 @@ kind: Secret
metadata:
name: keda-rabbitmq-secret
data:
host: <AMQP URI connection string> # base64 encoded value of format amqp://guest:password@localhost:5672/vhost
host: <AMQP URI connection string> # base64 encoded value of format amqp://guest:password@localhost:5672
vhostName: vhost
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
Expand All @@ -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
Expand Down
Loading