[stable/prometheus-pushgateway] Use fullname for the servicemonitor name (#18872)

* Use fullname for the servicemonitor name

Signed-off-by: cstaud <christian.staude@staffbase.com>

* Bump chart version

Signed-off-by: cstaud <christian.staude@staffbase.com>
This commit is contained in:
Christian Staude
2019-11-14 04:37:34 -08:00
committed by Kubernetes Prow Robot
parent 59189d28f4
commit a5db6d5fa4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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 }}