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

[xray] rabbitmq.auth.password must be set #1961

Open
juame opened this issue Feb 4, 2025 · 1 comment
Open

[xray] rabbitmq.auth.password must be set #1961

juame opened this issue Feb 4, 2025 · 1 comment

Comments

@juame
Copy link

juame commented Feb 4, 2025

It is required to set a non-default password for rabbitmq.auth.password after the latest change:

{{- if and (not .Release.IsUpgrade) (eq .Values.rabbitmq.auth.password "password") .Values.rabbitmq.enabled }}
{{- fail "\n\n**************************************\nSTOP! INSTALLATION not allowed with the default RabbitMQ password!\nPlease change the RabbitMQ password from the default value before proceeding with the installation.\n**************************************\n" }}
{{- end }}

Unfortunately, it seems that the password in RabbitMQ is set from rabbitmq.auth.password. However, Xray is using the password defined in rabbitmq.auth.existingPasswordSecret (key rabbitmq-password).
Xray is unable to start if the password does not match the password in the secret key rabbitmq-password.

Helm values:

rabbitmq:
  auth:
    username: xrayuser
    password: password-set-in-rabbitmq
    existingPasswordSecret: xray-rabbitmq-creds # key: `rabbitmq-password`

I would expect that we could simply set the password in existingPasswordSecret and have it used by both Xray and RabbitMQ.

@rahulsadanandan
Copy link
Collaborator

Hi @juame, rabbitmq.existingPasswordSecret is not currently supported. Since we have custom loadDefinitions, the password needs to be specified there, and we reference it from rabbitmq.auth.password We will create an internal ticket and see how we can fix this.

Regarding the question

It is required to set a non-default password for rabbitmq.auth.password after the latest change

yes this is required now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants