mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-20 08:04:52 +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>
13 lines
391 B
YAML
13 lines
391 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: open-cluster-management:registration-agent
|
|
namespace: open-cluster-management-agent
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["configmaps", "secrets"]
|
|
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
|
|
- apiGroups: ["", "events.k8s.io"]
|
|
resources: ["events"]
|
|
verbs: ["create", "patch", "update"]
|