kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: coredns-coredns
  labels:
    app.kubernetes.io/instance: coredns
    app.kubernetes.io/name: coredns
    k8s-app: coredns
    kubernetes.io/cluster-service: 'true'
    kubernetes.io/name: CoreDNS

rules:
- verbs:
  - list
  - watch
  apiGroups:
  - ''
  resources:
  - endpoints
  - services
  - pods
  - namespaces
