...
1apiVersion: rbac.authorization.k8s.io/v1
2kind: ClusterRoleBinding
3metadata:
4 name: lighthouse-rolebinding
5 labels:
6 platform.edge.ncr.com/component: lighthouse
7roleRef:
8 name: lighthouse-sa-role
9 kind: ClusterRole
10 apiGroup: rbac.authorization.k8s.io
11subjects:
12- name: lighthouse-sa
13 namespace: lighthouse
14 kind: ServiceAccount
15---
16apiVersion: rbac.authorization.k8s.io/v1
17kind: ClusterRole
18metadata:
19 name: lighthouse-sa-role
20 labels:
21 platform.edge.ncr.com/component: lighthouse
22rules:
23- resources: ["configmaps", "configmaps/status"]
24 apiGroups: [""]
25 verbs: ["get", "list", "watch"]
View as plain text