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