manifests icon indicating copy to clipboard operation
manifests copied to clipboard

Redis Standalone default redis password is set on two different locations

Open JcGKitten opened this issue 7 months ago • 0 comments

After spending some time to figure that out, I wanted to ask if this is intended or a bug.

When using Redis with clientType.standalone configure redis via values like suggested in this comment:

redis:
  enabled: true
sessionStorage:
  type: redis
  redis:
    password: "XXXXXXX"

isn't working and shows the following logs in the oauth pod:

  unable to set a redis initialization key: WRONGPASS invalid username-password pair or user is disabled.
  unable to delete the redis initialization key: WRONGPASS invalid username-password pair or user is disabled.

I discovered in the redis-standalone-values.yaml that the password for redis is also set under redis.global.redis.password. After setting this password:

redis:
  enabled: true
  global:
    redis:
      password: "XXXXXXX"
sessionStorage:
  type: redis
  redis:
    password: "XXXXXXX"

Oauth Proxy can connect to redis and the storage works. So I was wondering if this should be mentioned in the README or if this a bug.

JcGKitten avatar Jul 18 '24 11:07 JcGKitten