Skip to content

Commit

Permalink
Fixed charts
Browse files Browse the repository at this point in the history
Signed-off-by: iamabhishek-dubey <abhishekbhardwaj510@gmail.com>
  • Loading branch information
iamabhishek-dubey committed Sep 2, 2021
1 parent cd69e70 commit 1a3e3c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions charts/redis-cluster/templates/follower-sm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ metadata:
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-follower
redis_setup_type: follower
role: follower
app: {{ .Release.Name }}-follower
redis_setup_type: cluster
role: follower
endpoints:
- port: redis-exporter
interval: {{ .Values.serviceMonitor.interval }}
Expand Down
6 changes: 3 additions & 3 deletions charts/redis-cluster/templates/leader-sm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ metadata:
spec:
selector:
matchLabels:
app: {{ .Release.Name }}-leader
redis_setup_type: leader
role: leader
app: {{ .Release.Name }}-leader
redis_setup_type: cluster
role: leader
endpoints:
- port: redis-exporter
interval: {{ .Values.serviceMonitor.interval }}
Expand Down
6 changes: 3 additions & 3 deletions charts/redis/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ metadata:
spec:
selector:
matchLabels:
app: {{ .Release.Name }}
redis_setup_type: standalone
role: standalone
app: {{ .Release.Name }}
redis_setup_type: standalone
role: standalone
endpoints:
- port: redis-exporter
interval: {{ .Values.serviceMonitor.interval }}
Expand Down

0 comments on commit 1a3e3c4

Please sign in to comment.