kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
 name: traefik-ingress-controller
rules:
 - apiGroups:
     - ""
   resources:
     - pods
     - services
     - endpoints
     - secrets
   verbs:
     - get
     - list
     - watch
 - apiGroups:
     - extensions
   resources:
     - ingresses
   verbs:
     - get
     - list
     - watch
