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 }}