From a5db6d5fa473118ecaa0b70fa4f73e498eab4a19 Mon Sep 17 00:00:00 2001 From: Christian Staude Date: Thu, 14 Nov 2019 13:37:34 +0100 Subject: [PATCH] [stable/prometheus-pushgateway] Use fullname for the servicemonitor name (#18872) * Use fullname for the servicemonitor name Signed-off-by: cstaud * Bump chart version Signed-off-by: cstaud --- stable/prometheus-pushgateway/Chart.yaml | 2 +- stable/prometheus-pushgateway/templates/servicemonitor.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/prometheus-pushgateway/Chart.yaml b/stable/prometheus-pushgateway/Chart.yaml index 706f33bf12..a0cf9a255e 100644 --- a/stable/prometheus-pushgateway/Chart.yaml +++ b/stable/prometheus-pushgateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.0.0" description: A Helm chart for prometheus pushgateway name: prometheus-pushgateway -version: 1.2.2 +version: 1.2.3 home: https://github.com/prometheus/pushgateway sources: - https://github.com/prometheus/pushgateway diff --git a/stable/prometheus-pushgateway/templates/servicemonitor.yaml b/stable/prometheus-pushgateway/templates/servicemonitor.yaml index 2de77f68d8..3c3680e308 100644 --- a/stable/prometheus-pushgateway/templates/servicemonitor.yaml +++ b/stable/prometheus-pushgateway/templates/servicemonitor.yaml @@ -2,7 +2,7 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: - name: {{ template "prometheus-pushgateway.name" . }} + name: {{ template "prometheus-pushgateway.fullname" . }} {{- if .Values.serviceMonitor.namespace }} namespace: {{ .Values.serviceMonitor.namespace }} {{- end }}