...
1apiVersion: rbac.authorization.k8s.io/v1
2kind: ClusterRole
3metadata:
4 name: edge:system:info-viewer
5 labels:
6 platform.edge.ncr.com: "true"
7rules:
8- resources:
9 - configmaps
10 apiGroups:
11 - ""
12 resourceNames:
13 - edge-info
14 - bsl-info
15 - topology-info
16 verbs:
17 - get
18 - list
19 - watch
20---
21apiVersion: rbac.authorization.k8s.io/v1
22kind: ClusterRoleBinding
23metadata:
24 name: edge:system:info-viewer
25 labels:
26 platform.edge.ncr.com: "true"
27roleRef:
28 name: edge:system:info-viewer
29 kind: ClusterRole
30 apiGroup: rbac.authorization.k8s.io
31subjects:
32- name: system:authenticated
33 kind: Group
34 apiGroup: rbac.authorization.k8s.io
View as plain text