Skip to content

rabbitmq scaler doesn't accept passwords with special characters, it should #7084

@doctorpangloss

Description

@doctorpangloss

Report

The notes for RabbitMQ Scaler say you can't use special characters in the username or password. Unfortunately the rabbitmq topology operator will create usernames and passwords with underscores.

The URL just has to be parsed more simply without using golang's funky libraries, and that way, you have support for special characters in passwords. you can go ahead and split on characters, and then url decode the strings.

Expected Behavior

rabbitmq password special character support. I don't even know what special character means, but it seems to include underscores, which is bad

Actual Behavior

underscores aren't supported in passwords

Steps to Reproduce the Problem

use a rabbitmq password with an underscore in it, observe keda cannot connect

Logs from KEDA operator

No response

KEDA Version

2.17.2

Kubernetes Version

1.32

Platform

Other

Scaler Details

RabbitMQ

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions