aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml')
-rw-r--r--vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml b/vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml
index 86e14789..9c3d84c2 100644
--- a/vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml
+++ b/vnfs/DAaaS/collection/charts/prometheus/templates/prometheus.yaml
@@ -4,10 +4,12 @@ metadata:
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: