Skip to content

Commit 745f5de

Browse files
naseemkullahThomas Tischner
authored andcommitted
Update image (helm#15217)
Signed-off-by: Naseem <naseemkullah@gmail.com>
1 parent 13fe360 commit 745f5de

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

stable/prometheus-redis-exporter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: 0.28.0
2+
appVersion: 1.0.3
33
description: Prometheus exporter for Redis metrics
44
name: prometheus-redis-exporter
5-
version: 2.0.2
5+
version: 3.0.0
66
home: https://github.com/oliver006/redis_exporter
77
sources:
88
- https://github.com/oliver006/redis_exporter

stable/prometheus-redis-exporter/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following table lists the configurable parameters and their default values.
4444
| ---------------------- | --------------------------------------------------- | ------------------------- |
4545
| `replicaCount` | desired number of prometheus-redis-exporter pods | `1` |
4646
| `image.repository` | prometheus-redis-exporter image repository | `oliver006/redis_exporter`|
47-
| `image.tag` | prometheus-redis-exporter image tag | `v0.28.0` |
47+
| `image.tag` | prometheus-redis-exporter image tag | `v1.0.3` |
4848
| `image.pullPolicy` | image pull policy | `IfNotPresent` |
4949
| `image.pullSecrets` | image pull secrets | {} |
5050
| `extraArgs` | extra arguments for the binary; possible values [here](https://github.com/oliver006/redis_exporter#flags)| {}
@@ -54,7 +54,7 @@ The following table lists the configurable parameters and their default values.
5454
| `service.port` | service external port | `9121` |
5555
| `service.annotations` | Custom annotations for service | `{}` |
5656
| `service.labels` | Additional custom labels for the service | `{}` |
57-
| `redisAddress` | A list of addresses of one or more redis nodes | `redis://myredis:6379` |
57+
| `redisAddress` | Address of the Redis instance to scrape | `redis://myredis:6379` |
5858
| `annotations` | pod annotations for easier discovery | {} |
5959
| `rbac.create` | Specifies whether RBAC resources should be created.| `true` |
6060
| `rbac.pspEnabled` | Specifies whether a PodSecurityPolicy should be created.| `true` |
@@ -116,3 +116,9 @@ data:
116116
return result
117117
```
118118
If you want to use this script for collecting metrics, you could do this by just set `script.configmap` to the name of the configmap (e.g. `prometheus-redis-exporter-script`) and `script.keyname` to the configmap-key holding the script (eg. `script`). The required variables inside the container will be set automatically.
119+
120+
## Upgrading
121+
122+
### To 3.0.0
123+
124+
The default tag for the exporter image is now `v1.x.x`. This major release includes changes to the names of various metrics and no longer directly supports the configuration (and scraping) of multiple redis instances; that is now the Prometheus server's responsibility. You'll want to use [this dashboard](https://github.com/oliver006/redis_exporter/blob/master/contrib/grafana_prometheus_redis_dashboard.json) now. Please see the [redis_exporter github page](https://github.com/oliver006/redis_exporter#upgrading-from-0x-to-1x) for more details.

stable/prometheus-redis-exporter/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
containerPort: 9121
4242
env:
4343
- name: REDIS_ADDR
44-
value: {{ join "," .Values.redisAddress }}
44+
value: {{ .Values.redisAddress }}
4545
{{- if .Values.script }}
4646
- name: REDIS_EXPORTER_SCRIPT
4747
value: /script/script.lua

stable/prometheus-redis-exporter/values.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ serviceAccount:
1313
replicaCount: 1
1414
image:
1515
repository: oliver006/redis_exporter
16-
tag: v0.28.0
16+
tag: v1.0.3
1717
pullPolicy: IfNotPresent
1818
extraArgs: {}
1919
# Additional Environment variables
@@ -32,8 +32,7 @@ service:
3232
# prometheus.io/port: "9121"
3333
# prometheus.io/scrape: "true"
3434
resources: {}
35-
redisAddress:
36-
- redis://myredis:6379
35+
redisAddress: redis://myredis:6379
3736
annotations: {}
3837
# prometheus.io/path: /metrics
3938
# prometheus.io/port: "9121"

0 commit comments

Comments
 (0)