mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-17 14:48:49 +00:00
* deploy control plane and agent in two clusters Signed-off-by: zhujian <jiazhu@redhat.com> * change the default spoke component namespace Signed-off-by: zhujian <jiazhu@redhat.com>
14 lines
379 B
YAML
14 lines
379 B
YAML
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
|