From 7fd8b69400a1f796d32e7cfd80d0762af8b3853c Mon Sep 17 00:00:00 2001 From: Kubernetes Prow Robot Date: Thu, 5 Mar 2020 02:32:37 -0800 Subject: [PATCH] [stable/prometheus-redis-exporter] Fix secret key path in deployment (#21259) * Update secret key path in deployment Signed-off-by: Ken Thompson * Clarify use of SSL connections in redis address Signed-off-by: Ken Thompson * Update chart version Signed-off-by: Ken Thompson --- stable/prometheus-redis-exporter/Chart.yaml | 2 +- stable/prometheus-redis-exporter/README.md | 2 +- stable/prometheus-redis-exporter/templates/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/prometheus-redis-exporter/Chart.yaml b/stable/prometheus-redis-exporter/Chart.yaml index 16aa140e4c9e..a4fc312d0622 100644 --- a/stable/prometheus-redis-exporter/Chart.yaml +++ b/stable/prometheus-redis-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.3.4 description: Prometheus exporter for Redis metrics name: prometheus-redis-exporter -version: 3.2.2 +version: 3.2.3 home: https://github.com/oliver006/redis_exporter sources: - https://github.com/oliver006/redis_exporter diff --git a/stable/prometheus-redis-exporter/README.md b/stable/prometheus-redis-exporter/README.md index b25b0043ffd5..4b216dde5a2e 100644 --- a/stable/prometheus-redis-exporter/README.md +++ b/stable/prometheus-redis-exporter/README.md @@ -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 the Redis instance to scrape | `redis://myredis:6379` | +| `redisAddress` | Address of the Redis instance to scrape. Use `rediss://` for SSL. | `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` | diff --git a/stable/prometheus-redis-exporter/templates/deployment.yaml b/stable/prometheus-redis-exporter/templates/deployment.yaml index 855efc2985f6..f42eea8d603a 100644 --- a/stable/prometheus-redis-exporter/templates/deployment.yaml +++ b/stable/prometheus-redis-exporter/templates/deployment.yaml @@ -48,7 +48,7 @@ spec: valueFrom: secretKeyRef: name: {{ .Values.auth.secret.name }} - key: {{ .Values.secret.key }} + key: {{ .Values.auth.secret.key }} {{- else }} value: {{ .Values.auth.redisPassword }} {{- end }}