apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: {{ include "baremetal-operator.fullname" . }}-metrics-reader labels: {{- include "baremetal-operator.labels" . | nindent 4 }} rules: - nonResourceURLs: - /metrics verbs: - get