Skip to content

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

@juame

Description

@juame

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions