Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add RBAC for prometheus instance
[demo.git]
/
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
9c3d84c
..
27c97d1
100644
(file)
--- 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