Granting Access Using ClusterRole

To monitor pods registered in the Kubernetes cluster, the Flogo Enterprise Monitoring app requires access to the List, Watch, and Get verbs for all pods across all namespaces. To grant access, and update the YAML file as shown in the following sample file.

Sample YAML file showing ClusterRole

Cluster

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: flogo-mon-cluster-role
rules:
- apiGroups: ["*"]
  resources: ["pods"]
  verbs: ["list","get","watch"]