-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authenticating to ACL configured cluster with redis operator #688
Comments
i suppose cli commands with acl enabled in k8sutils/redis.go must pass --user and --pass arguments, but there is no such code in there |
For further clarification, this behavior is present when using either of the following configurations in the ACL for the default user:
The cluster comes up successfully with the below config, or when the
Which seems to further indicate that the password for the default user just needs to be provided to the operator. Adding the default user's password to the With this behavior it seems like using an ACL doesn't provide much benefit, since the default user must be given high level permissions without a password for the operator to work. Is there a known way around this with configuration? Thanks! |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
bump |
Describe your question
Installing redis-cluster and configuring ACL, e.g.:
correctly sets up ACL, but the redis operator fails to authenticate with
NOAUTH Authentication required
.When using
redis-cli
in this state, after successfully authenticating, I get the error messageCLUSTERDOWN Hash slot not served
when tryingSET foo bar
. This behavior is not present (everything works) when ACL is disabled.How can the operator be configured to successfully authenticate to the cluster?
What version of redis-operator are you using?
redis-operator version: v0.15.1
redis-operator helm chart: v0.15.9
redis-cluster version: v7
redis-cluster image: v7.0.12
redis-cluster helm chart: v0.15.10
Additional context
The text was updated successfully, but these errors were encountered: