-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Rabbitmq scaler: Allow providing separate paremeters for user and password #2513
Comments
I strongly second this. Another obvious use case is using the Rabbit MQ Message Topology Operator to generate users. This operator produces secrets with separate username, password data. Additionally, you need to fetch the host, amqpPort, vhost, etc from another secret produced by the Rabbit MQ Cluster Operator. Providing each of these as separate parameters to the TriggerAuthentication would allow us to simply point to the existing secrets, instead of having to devise a crazy way to combine them all into a URL on yet another secret. |
I think this makes sense, WDYT @JorTurFer ? |
yes, IMO it totally makes sense. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
I would like to tackle this issue |
it's yours |
What about this feature? Any ETA? We have deployment to multiple namespaces using kustomize and without ability of providing each of these as separate parameters to the TriggerAuthentication we can't simply point to the existing secrets generated by RabbitMQ Cluster Operator and/or RabbitMQ Messaging Topology Operator. Using KEDA's RabbitMQ Scaler's hostFromEnv with something like this inside example-deployment definition:
also does not work because keda sees these variables before expansion, although it works inside example-deployment's container just fine. |
@b1czu I'm working in the PR associated, I think that I'll be able to finish in the following weeks, I'm having a hard time since I haven't programmed anything in go for a few weeks |
Is there an approx timeline on this feature? This is one that's important to us too |
AFAIK, the PR was abandoned, so you can open another PR adding the support if you are willing to contribute @zargarf |
This feature would be particularly useful when using the secrets generated from the RabbitMQ Operator |
@xoanmm , are you still interested on contributing with this? If you cannot any other folk can tackle it |
Any update regarding this feature? We're facing a similar situation, and it would be great to have the username and password as separate fields. |
There isn't any news AFAIK. Are you willing to continue with the feature? |
Proposal
I would like to be able to provide username/password as separate parameters for the RabbitMQ scaler, in order to be able to get host from Environment variable and username/password from separate environment variables/secrets
Use-Case
We are using single RabbitMQ deployment for multiple applications which have separate secrets containing their credentials. Since credentials are generated by helm templates we have no way to know what they will be in advance. Adding to this we are using podpreset to inject the environment variables containing the username and password, which means we cannot combine everything in 1 variable using the pod manifest, because the username/password variables are injected at the end of the variables array. Having the option to reference separate secret/environment variables from which username and password to be taken is crucial for such deployments.
Anything else?
No response
The text was updated successfully, but these errors were encountered: