name: {{ template "prometheus.fullname" . }}-prometheus
labels:
app: {{ template "prometheus.name" . }}-prometheus
+ "helm.sh/hook": post-install
+ "helm.sh/hook-weight": "2"
spec:
serviceMonitorSelector:
matchLabels:
- app: collectd
+ app: {{ template "prometheus.name" . }}-prometheus
release: {{ .Release.Name }}
serviceMonitorNamespaceSelector:
matchNames: