Files
open-cluster-management/deploy/spoke/role.yaml
Jian Zhu c849951f90 deploy control plane and agent in two clusters (#182)
* 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>
2021-12-06 01:49:21 +00:00

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"]