From e7cf41ad23960f23c03a553f62f5d710054ede23 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Thu, 13 Jun 2019 00:26:10 -0700 Subject: Add RBAC for prometheus instance Fixed issue of prometheus throwing unauthorized rbac error. Change-Id: I984bf637bf464803c35bfb32bf09b2974fec9053 Issue-ID: ONAPARC-506 Signed-off-by: Dileep Ranganathan --- vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml') diff --git a/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml b/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml index 9c3d84c2..27c97d10 100644 --- a/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml +++ b/vnfs/DAaaS/deploy/collection/charts/prometheus/templates/prometheus.yaml @@ -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 -- cgit 1.2.3-korg