Add RBAC for prometheus instance
[demo.git] / vnfs / DAaaS / deploy / collection / charts / prometheus / templates / prometheus.yaml
index 9c3d84c..27c97d1 100644 (file)
@@ -7,6 +7,7 @@ metadata:
   "helm.sh/hook": post-install
   "helm.sh/hook-weight": "2"
 spec:
+  serviceAccountName: {{ template "prometheus.serviceAccountName" . }}
   serviceMonitorSelector:
     matchLabels:
       app: {{ template "prometheus.name" . }}-prometheus