Fix Collection Service Helm charts package
[demo.git] / vnfs / DAaaS / collection / charts / prometheus / templates / servicemonitor.yaml
index 47a911c..f360d0d 100644 (file)
@@ -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 }}