mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis-ha] Updating Prometheus exporter support in for HAProxy (#18500)
* Updating exporting support in for HAProxy Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com> * Bumping chart version Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
fc0a5e4f47
commit
5b58e698cf
@@ -6,7 +6,7 @@ keywords:
|
||||
- redis
|
||||
- keyvalue
|
||||
- database
|
||||
version: 3.11.3
|
||||
version: 3.11.4
|
||||
appVersion: 5.0.5
|
||||
description: Highly available Kubernetes implementation of Redis
|
||||
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
|
||||
|
||||
@@ -21,9 +21,11 @@ spec:
|
||||
app: {{ template "redis-ha.name" . }}-haproxy
|
||||
release: {{ .Release.Name }}
|
||||
annotations:
|
||||
{{- if .Values.haproxy.exporter.enabled }}
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "9101"
|
||||
prometheus.io/port: {{ default 9101 .Values.haproxy.exporter.port | toString }}
|
||||
prometheus.io/scrape: "true"
|
||||
{{- end }}
|
||||
checksum/config: {{ print (include "config-haproxy.cfg" .) (include "config-haproxy_init.sh" .) | sha256sum }}
|
||||
{{- if .Values.haproxy.annotations }}
|
||||
{{ toYaml .Values.haproxy.annotations | indent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user