-
Notifications
You must be signed in to change notification settings - Fork 460
Open
Labels
Description
It is required to set a non-default password for rabbitmq.auth.password after the latest change:
charts/stable/xray/templates/keys-warnings.yaml
Lines 1 to 3 in c277c35
| {{- 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.
zbialik