--- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: control-plane-role rules: - apiGroups: - discovery.k8s.io resources: - endpointslices verbs: - get - list - watch