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
requirepass key
- Configure a RedkeyCluster CR with
auth.secret pointing 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
Description
When
auth.secretis configured on a RedkeyCluster CR, the operator correctly setsrequirepasson 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.gohas zero references to auth/password/secret).This causes Robin to fail with
failed to connect after 10 retrieson every node, leaving the cluster permanently stuck inConfiguringstatus.Steps to Reproduce
requirepasskeyauth.secretpointing to that secretError 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.secretfrom the CR and use a NetworkPolicy to restrict access instead.Environment