Use a password file
Improve this page by contributing to our documentation.
To use a password file for Redis you need to create a secret containing the password and then deploy the chart using that secret. Follow these instructions:
-
Create the secret with the password. It is important that the file with the password must be called redis-password.
$ kubectl create secret generic redis-password-secret --from-file=redis-password.yaml
-
Deploy the Helm Chart using the secret name as parameter:
usePassword=true usePasswordFile=true existingSecret=redis-password-secret sentinels.enabled=true metrics.enabled=true