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