[bitnami/redis] Support retrieving Redis ACL user passwords from Kubernetes Secrets (#32434)

* Added helper function common.secrets.get to fetch user credentials from a Secret.
Updated Redis ACL user configuration to prioritize secrets over plain-text passwords.
Ensured backward compatibility by falling back to .password when no secret is found.
Signed-off-by: Mehdi Jafarpour <emahdij@gmail.com>
Signed-off-by: Mehdi Jafarpour <mehdi.jafarpour@arvancloud.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Mehdi Jafarpour <mehdi.jafarpour@arvancloud.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Mehdi Jafarpour
2025-04-15 13:47:50 +03:30
committed by GitHub
parent 3459edbfae
commit e4fd127429
6 changed files with 43 additions and 20 deletions

View File

@@ -186,7 +186,9 @@ auth:
## commands: "+@all"
## keys: "~*"
## channels: "&*"
users: [ ]
users: []
## @param auth.acl.userSecret Name of the Secret, containing user credentials for ACL users. Keys must match usernames.
userSecret: ""
## @param commonConfiguration [string] Common configuration to be added into the ConfigMap
## ref: https://redis.io/topics/config
##