kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: dmc-clusterrole
  labels:
    app.kubernetes.io/instance: ibm-dmc-addon
    app.kubernetes.io/name: clusterrole 
    app.kubernetes.io/managed-by: helm
rules:
- apiGroups:
  - certificates.k8s.io
  resources:
  - certificatesigningrequests
  - certificatesigningrequests/approval
  - certificatesigningrequests/status
  verbs:
  - get
  - patch
  - delete
  - update
  - create
  - list
  - watch
- apiGroups: 
  - apiextensions.k8s.io
  resources: 
  - customresourcedefinitions
  verbs:
  - get
  - list
  - patch
  - delete
  - watch
  - update
  - create
- apiGroups:
  - route.openshift.io
  resources:
  - routes
  verbs:
  - "*"
