- Make redisAddress value a list instead of comma serparated string (#14696)

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
This commit is contained in:
Mohamed Hazem
2019-06-11 11:36:21 -07:00
committed by Kubernetes Prow Robot
parent 520f2cbfca
commit 53d232a16e
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.28.0
description: Prometheus exporter for Redis metrics
name: prometheus-redis-exporter
version: 1.1.0
version: 2.0.0
home: https://github.com/oliver006/redis_exporter
sources:
- https://github.com/oliver006/redis_exporter
+1 -1
View File
@@ -54,7 +54,7 @@ The following table lists the configurable parameters and their default values.
| `service.port` | service external port | `9121` |
| `service.annotations` | Custom annotations for service | `{}` |
| `service.labels` | Additional custom labels for the service | `{}` |
| `redisAddress` | address of one or more redis nodes, comma separated | `redis://myredis:6379` |
| `redisAddress` | A list of addresses of one or more redis nodes | `redis://myredis:6379` |
| `annotations` | pod annotations for easier discovery | {} |
| `rbac.create` | Specifies whether RBAC resources should be created.| `true` |
| `rbac.pspEnabled` | Specifies whether a PodSecurityPolicy should be created.| `true` |
@@ -41,7 +41,7 @@ spec:
containerPort: 9121
env:
- name: REDIS_ADDR
value: {{ .Values.redisAddress }}
value: {{ join "," .Values.redisAddress }}
{{- if .Values.env }}
{{ toYaml .Values.env | indent 12 }}
{{- end }}
+2 -1
View File
@@ -32,7 +32,8 @@ service:
# prometheus.io/port: "9121"
# prometheus.io/scrape: "true"
resources: {}
redisAddress: redis://myredis:6379
redisAddress:
- redis://myredis:6379
annotations: {}
# prometheus.io/path: /metrics
# prometheus.io/port: "9121"