Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffoo committed Oct 9, 2019
1 parent b16c133 commit 4ce424d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ce424d

Please sign in to comment.