spotahome / redis-operator

Redis Operator creates/configures/manages high availability redis with sentinel automatic failover atop Kubernetes.
Apache License 2.0
1.5k stars 356 forks source link

Unsupported CONFIG parameter: user #505

Closed elluvium closed 1 year ago

elluvium commented 1 year ago

Expected behaviour

Greetings! I'm trying to create a redis user using customConfig reference in RedisFailover CR with following config:

..........
sentinel:
    customConfig:
      - >-
        user oidc on ~sessions:* -@all +@read +@set +@connection +select
        +setex +eval
..........

Actual behaviour

Expecting operator to process default redis user config param. But receive a message that operator cannot process user config param. Is this expected or I'm doing something wrong here?

Environment

Logs

time="2022-10-25T17:46:58Z" level=error msg="error on object processing: ERR Unsupported CONFIG parameter: user" controller-id=redisfailover object-key=test/redis-sentinel operator=redisfailover service=kooper.controller src="controller.go:279"

samof76 commented 1 year ago

@elluvium the customConfig section only supports, CONFIG SET options and not ACL commands. The is being debated here, and yet to be completed.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.