Update sentinel conf access string to allow hello channel access (#854)

This example of a minimal user account in your Valkey server
for Sentinel is incorrect. If you add this ACL as-is to your
valkey users.acl, valkey will add resetchannels -@all before
the +client which prevents sentinel from publishing messages
to the __sentinel__:hello pubsub for sentinel discovery.

Fix #744.

Signed-off-by: Harkrishn Patro <harkrisp@amazon.com>
This commit is contained in:
Harkrishn Patro 2024-08-03 08:32:53 -07:00 committed by GitHub
parent facd123ce6
commit 0fc43edc6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,7 +120,7 @@ sentinel monitor mymaster 127.0.0.1 6379 2
# Sentinel instances, should be configured along the following lines:
#
# user sentinel-user >somepassword +client +subscribe +publish \
# +ping +info +multi +slaveof +config +client +exec on
# +ping +info +multi +slaveof +config +client +exec &__sentinel__:hello on
# sentinel down-after-milliseconds <master-name> <milliseconds>
#