apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: endpoints-reader rules: - apiGroups: [""] resources: ["endpoints"] verbs: ["get", "watch", "list"]