From 4ce424d86b0e4e41eae9f4863ea81000b128fbe2 Mon Sep 17 00:00:00 2001 From: Marin Date: Wed, 9 Oct 2019 10:06:43 -0700 Subject: [PATCH] update readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 89e8c7202..6bd495e8e 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,28 @@ port: 26379 master-name: mymaster ``` +### Enabling redis auth + +To enable auth create a secret with a password field: + +``` +echo -n "pass" > password +kubectl create secret generic redis-auth --from-file=password + +## example config +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: redisfailover +spec: + sentinel: + replicas: 3 + redis: + replicas: 1 + auth: + secretPath: secret +``` + ## Cleanup ### Operator and CRD