Skip to content

Instantly share code, notes, and snippets.

@jithin-scaria
Created May 10, 2022 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jithin-scaria/4d5a09b75a0571b5bd36773fe4dc89e4 to your computer and use it in GitHub Desktop.
Save jithin-scaria/4d5a09b75a0571b5bd36773fe4dc89e4 to your computer and use it in GitHub Desktop.
redis cluster acl ConfigMap for redis cluster in kubernetes
apiVersion: v1
kind: ConfigMap
metadata:
name: redis-acl
namespace: redis
data:
users.acl: |
# user "default" is the default user ( act as admin ) and user "replication" is used by the nodes for the replication.
user default on #8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 ~* &* +@all
user replication on #65cf6f5f48186a4a6c5de02f156f1642b3873451d9de1607147799023dbf4ef8 +psync +replconf +ping
user worker on #87eba76e7f3164534045ba922e7770fb58bbd14ad732bbf5ba6f11cc56989e6e ~* &* +@all -@dangerous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment