-
Notifications
You must be signed in to change notification settings - Fork 1
Robin cannot authenticate to Valkey nodes when auth.secret is configured #47
Copy link
Copy link
Open
Description
Description
When auth.secret is configured on a RedkeyCluster CR, the operator correctly sets requirepass on the Valkey pods via the StatefulSet config. However, Robin is never given the password — it has no auth handling in its codebase (internal/robin/robin.go has zero references to auth/password/secret).
This causes Robin to fail with failed to connect after 10 retries on every node, leaving the cluster permanently stuck in Configuring status.
Steps to Reproduce
- Create a Secret with a
requirepasskey - Configure a RedkeyCluster CR with
auth.secretpointing to that secret - Observe Robin logs:
Error initializing node ... "failed to connect after 10 retries"
Expected Behavior
Robin should receive the auth credentials (via configmap or environment variable) and use them when connecting to Valkey nodes.
Workaround
Remove auth.secret from the CR and use a NetworkPolicy to restrict access instead.
Environment
- Redkey Operator v0.1.0
- Robin v0.1.0
- OpenShift 4.18 / OKD
- Valkey 8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels