mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
59189d28f4
commit
a5db6d5fa4
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user