summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml
diff options
context:
space:
mode:
authorSrivahni <srivahni.chivukula@intel.com>2019-03-07 17:40:40 -0800
committerSrivahni <srivahni.chivukula@intel.com>2019-03-07 18:29:00 -0800
commitafddb9a1dd8cc82a02c09ac790bf19afbe01ebba (patch)
tree5be647992fbce75f177f0a45c0a180b1f8818b87 /vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml
parent155be668f75d9f8e3b1050ba6338dfdf49ac5964 (diff)
Fix Collection Service Helm charts package
Change-Id: I01f5a9377827666bdeaff4a3adc1c44844eb716c Issue-ID: ONAPARC-366 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Diffstat (limited to 'vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml')
-rw-r--r--vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml b/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml
index 47a911c6..f360d0df 100644
--- a/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml
+++ b/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml
@@ -7,6 +7,8 @@ items:
kind: ServiceMonitor
metadata:
name: {{ .name }}
+ "helm.sh/hook": post-install
+ "helm.sh/hook-weight": "1"
labels:
app: {{ template "prometheus.name" $ }}-prometheus
{{ include "prometheus.labels" $ | indent 8 }}