X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vnfs%2FDAaaS%2Fcollection%2Fcharts%2Fprometheus%2Ftemplates%2Fservicemonitor.yaml;h=f360d0df4c41fdbb1f91fcc53c1b57cd9993648a;hb=afddb9a1dd8cc82a02c09ac790bf19afbe01ebba;hp=47a911c62bb3c0ac433b3f957548b6c08a620920;hpb=155be668f75d9f8e3b1050ba6338dfdf49ac5964;p=demo.git 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 }}