File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Grafana sidecar needs to be able to query configmaps across all namespaces
2
+ kind : ClusterRoleBinding
3
+ apiVersion : rbac.authorization.k8s.io/v1
4
+ metadata :
5
+ name : grafana-clusterrolebinding
6
+ roleRef :
7
+ kind : ClusterRole
8
+ name : grafana-clusterrole
9
+ apiGroup : rbac.authorization.k8s.io
10
+ subjects :
11
+ - kind : ServiceAccount
12
+ name : grafana
13
+ ---
14
+ kind : ClusterRole
15
+ apiVersion : rbac.authorization.k8s.io/v1
16
+ metadata :
17
+ name : grafana-clusterrole
18
+ rules :
19
+ - apiGroups : [""]
20
+ resources : ["configmaps"]
21
+ verbs : ["get", "watch", "list"]
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ resources:
7
7
- ./loki
8
8
- ./promtail
9
9
- prometheus-additional-targets.yaml
10
+ - grafana-role.yaml
10
11
patches :
11
12
- container-images.patch.yaml
12
13
- cluster-wide.patch.yaml
You can’t perform that action at this time.
0 commit comments