apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: iot.enmasse.io:tenant-edit
  labels:
    app: enmasse
    enmasse-component: iot
    rbac.authorization.k8s.io/aggregate-to-admin: "true"
    rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
  - apiGroups: [ "iot.enmasse.io" ]
    resources: [ "iotprojects" ]
    verbs: [ "create", "get", "update", "delete", "list", "watch", "patch" ]
