GitHub user pablorsk added a comment to the discussion: How to connect to
external redis db database? Using supersetNode.connections
@dosu Great!!
The chart behaviour is working for me, but now I want the Redis password to
come from an existing secret instead of writing it in my values.yaml. I'm stuck
with authentication errors and I suspect I'm putting the secret in the wrong
place / wrong format.
## What I used (values snippet)
```yaml
supersetNode:
connections:
redis_host: "your-redis-host"
redis_port: "your-redis-port"
redis_cache_db: "2"
redis_celery_db: "2"
redis_user: ""
redis_ssl:
enabled: true
ssl_cert_reqs: "required" # valid values: "none", "optional", "required"
extraEnvFrom:
- secretRef:
name: superset-config-secret
```
In the Secret (superset-config-secret) I have:
```
REDIS_PASSWORD: yourpassword
```
### The chart renders and Superset starts, but when hitting functionality that
uses Redis I get:
UI: DB engine Error
Authentication required.
This may be triggered by: Issue 1011 - Superset encountered an unexpected error.
Worker/web logs
`redis.exceptions.AuthenticationError: invalid username-password pair or user
is disabled.`
### Also, I check inside of pod:
```echo $REDIS_PASSWORD
yourpassword
```
GitHub link:
https://github.com/apache/superset/discussions/35496#discussioncomment-14587753
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]