apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: edgecontroller
  labels:
    k8s-app: kubeedge
    kubeedge: edgecontroller
rules:
- apiGroups:
  - ""
  resources:
  - nodes
  - nodes/status
  - configmaps
  - pods
  - pods/status
  - secrets
  - services
  - endpoints
  verbs:
  - get
  - list
  - watch
  - update
- apiGroups:
  - ""
  resources:
  - pods
  verbs:
  - delete
