Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix redis auth example #204

Merged
merged 2 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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