[GH-ISSUE #349] [FEATURE REQUEST] Read password from env also when using sentinel #104

Open
opened 2026-03-02 05:18:44 +03:00 by kerem · 0 comments
Owner

Originally created by @ewokndor on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/349

If I am understanding the docs correctly, then to connect to a sentinel setup, the url is

redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName]

When deploying to a k8s via git and argocd, this config is (at least in our case) a config entry in a file.
Therefore, the password would be visible, which isn't a good idea obviously.

It would be ideal if the password could be read from REDIS_PASSWORD, which is set via a secret, if this env var is not empty, so that the image can then internally complete the URL.

Originally created by @ewokndor on GitHub (Dec 23, 2025). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/349 If I am understanding the docs correctly, then to connect to a sentinel setup, the url is `redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName]` When deploying to a k8s via git and argocd, this config is (at least in our case) a config entry in a file. Therefore, the password would be visible, which isn't a good idea obviously. It would be ideal if the password could be read from `REDIS_PASSWORD`, which is set via a secret, if this env var is not empty, so that the image can then internally complete the URL.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#104
No description provided.