Skip to content

Commit fe3e9c8

Browse files
docs: add explicit warning for redis single replica configuration (#382)
* docs: add explicit warning for redis single replica configuration When using redis-ha with a single replica (replicas: 1), Redis requires min-replicas-to-write to be set to 0, otherwise write operations fail with 'NOREPLICAS Not enough good replicas to write' error. This change adds an explicit IMPORTANT note in the values.yaml documentation, positioned immediately after the replicas setting to make the requirement clear to users. This configuration is already used in the CI tests (helm/oauth2-proxy/ci/redis-standalone-values.yaml:29) and is documented in the Redis documentation. Supersedes #359 Signed-off-by: Pierluigi Lenoci <[email protected]> * Bump oauth2-proxy version to 10.0.2 Signed-off-by: Pierluigi Lenoci <[email protected]> * docs: remove release for a pure documentation change Signed-off-by: Jan Larwig <[email protected]> --------- Signed-off-by: Pierluigi Lenoci <[email protected]> Signed-off-by: Jan Larwig <[email protected]> Co-authored-by: Jan Larwig <[email protected]>
1 parent 6972e57 commit fe3e9c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

helm/oauth2-proxy/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,14 @@ redis-ha:
504504
#
505505
# redisPassword: xxxxx
506506
# replicas: 1
507+
#
508+
# IMPORTANT: When using a single replica (replicas: 1), you MUST also configure
509+
# min-replicas-to-write to 0 to avoid "NOREPLICAS Not enough good replicas to write" errors.
510+
# See: https://stackoverflow.com/a/59737862
511+
# redis:
512+
# config:
513+
# min-replicas-to-write: 0
514+
#
507515
# persistentVolume:
508516
# enabled: false
509517
#

0 commit comments

Comments
 (0)