mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis-ha] define prometheus exporter port in service (#14910)
* define prometheus exporter port in service This enables prometheus-operator to work with this chart almost out-of-the box. Only a ServiceMonitor definition is necessary. Signed-off-by: Ben Dimbeck <bd@it-agenten.com> * bump chart version Signed-off-by: Ben Dimbeck <bd@it-agenten.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
4243f59270
commit
4cbc02a65f
@@ -6,7 +6,7 @@ keywords:
|
||||
- redis
|
||||
- keyvalue
|
||||
- database
|
||||
version: 3.5.0
|
||||
version: 3.5.1
|
||||
appVersion: 5.0.3
|
||||
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
|
||||
|
||||
@@ -20,6 +20,12 @@ spec:
|
||||
port: {{ .Values.sentinel.port }}
|
||||
protocol: TCP
|
||||
targetPort: sentinel
|
||||
{{- if .Values.exporter.enabled }}
|
||||
- name: exporter-port
|
||||
port: {{ .Values.exporter.port }}
|
||||
protocol: TCP
|
||||
targetPort: exporter-port
|
||||
{{- end }}
|
||||
selector:
|
||||
release: {{ .Release.Name }}
|
||||
app: {{ template "redis-ha.name" . }}
|
||||
|
||||
Reference in New Issue
Block a user