Skip to content

Commit

Permalink
Merge pull request #204 from shonge/fix
Browse files Browse the repository at this point in the history
fix redis auth example
  • Loading branch information
ese authored Nov 26, 2019
2 parents 277c53f + e64149e commit 3862be6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ spec:
redis:
replicas: 1
auth:
secretPath: secret
secretPath: redis-auth
```
You need to set secretPath as the secret name which is created before.

## Cleanup

Expand Down
12 changes: 12 additions & 0 deletions example/redisfailover/enable-exporter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: databases.spotahome.com/v1
kind: RedisFailover
metadata:
name: redisfailover
spec:
sentinel:
replicas: 3
redis:
replicas: 3
exporter:
enabled: true
image: oliver006/redis_exporter:v0.33.0

0 comments on commit 3862be6

Please sign in to comment.