1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: socialweb-meshd-node-reader
labels:
app.kubernetes.io/name: socialweb-meshd
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: socialweb-meshd-node-reader
labels:
app.kubernetes.io/name: socialweb-meshd
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: socialweb-meshd-node-reader
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: system:nodes