mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[prometheus-redis-exporter] Add custom labels support (#1102)
Signed-off-by: Victor Boissiere <victor.boissiere@qonto.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.11.1
|
||||
description: Prometheus exporter for Redis metrics
|
||||
name: prometheus-redis-exporter
|
||||
version: 4.0.2
|
||||
version: 4.1.0
|
||||
home: https://github.com/oliver006/redis_exporter
|
||||
sources:
|
||||
- https://github.com/oliver006/redis_exporter
|
||||
|
||||
@@ -20,6 +20,9 @@ spec:
|
||||
labels:
|
||||
app: {{ template "prometheus-redis-exporter.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.labels }}
|
||||
{{ toYaml .Values.labels | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ template "prometheus-redis-exporter.serviceAccountName" . }}
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
|
||||
@@ -41,6 +41,7 @@ affinity: {}
|
||||
|
||||
redisAddress: redis://myredis:6379
|
||||
annotations: {}
|
||||
labels: {}
|
||||
# prometheus.io/path: /metrics
|
||||
# prometheus.io/port: "9121"
|
||||
# prometheus.io/scrape: "true"
|
||||
|
||||
Reference in New Issue
Block a user