kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: hubble-ui
rules:
- apiGroups:
    - networking.k8s.io
  resources:
    - networkpolicies
  verbs:
    - get
    - list
    - watch
- apiGroups:
    - ""
  resources:
    - componentstatuses
    - endpoints
    - namespaces
    - nodes
    - pods
    - services
  verbs:
    - get
    - list
    - watch
- apiGroups:
    - apiextensions.k8s.io
  resources:
    - customresourcedefinitions
  verbs:
    - get
    - list
    - watch
- apiGroups:
    - cilium.io
  resources:
    - "*"
  verbs:
    - get
    - list
    - watch