mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-24 01:54:12 +00:00
* split registration permissions Signed-off-by: haoqing0110 <qhao@redhat.com> * add more comments Signed-off-by: haoqing0110 <qhao@redhat.com>
15 lines
433 B
YAML
15 lines
433 B
YAML
# RoleBinding for registration mandatory permissions.
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: open-cluster-management:registration-agent
|
|
namespace: open-cluster-management-agent
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: open-cluster-management:registration-agent
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: spoke-agent-sa
|
|
namespace: open-cluster-management-agent
|