Files
open-cluster-management/deploy/spoke/role_binding.yaml
Qing Hao 483f443898 split registration permissions (#255)
* split registration permissions

Signed-off-by: haoqing0110 <qhao@redhat.com>

* add more comments

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-06-27 08:18:28 +00:00

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