Skip to content

fix(valkey): pass SentinelPassword to FailoverClient#4

Open
nicacioliveira wants to merge 1 commit intomainfrom
fix/sentinel-password
Open

fix(valkey): pass SentinelPassword to FailoverClient#4
nicacioliveira wants to merge 1 commit intomainfrom
fix/sentinel-password

Conversation

@nicacioliveira
Copy link
Copy Markdown
Contributor

@nicacioliveira nicacioliveira commented Apr 17, 2026

Summary

  • Pass SentinelPassword to redis.FailoverOptions so the operator can authenticate with Sentinel when auth.sentinel: true is enabled in the Bitnami Valkey chart
  • Uses the same AdminPassword since the Bitnami chart configures Sentinel with the master password

Context

Without this, the FailoverClient fails with NOAUTH Authentication required when trying to discover the master via Sentinel. Direct NewSentinelClient connections already pass the password correctly — only the FailoverClient was missing it.

Test plan

  • Deploy to eks-serverless with auth.sentinel: true in valkey-sites chart
  • Verify operator connects to Sentinel and provisions ACL users

🤖 Generated with Claude Code


Summary by cubic

Pass SentinelPassword to redis.FailoverOptions in the failover client so it authenticates with Sentinel when auth.sentinel: true is enabled in the Bitnami Valkey chart, preventing NOAUTH during master discovery. Reuse AdminPassword for Sentinel auth since the chart configures Sentinel with the master password.

Written for commit cd2f250. Summary will update on new commits.

The FailoverClient needs SentinelPassword to authenticate with
Sentinel when auth is enabled (sentinel: true in Bitnami chart).
Without it, the client fails with NOAUTH when discovering the master.

Uses the same AdminPassword since the Bitnami chart configures
Sentinel with the master password when sentinel auth is enabled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant