apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ include "baremetal-operator.fullname" . }}-manager-rolebinding labels: {{- include "baremetal-operator.labels" . | nindent 4 }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: {{ include "baremetal-operator.fullname" . }}-manager-role subjects: - kind: ServiceAccount name: {{ include "baremetal-operator.serviceAccountName" . }} namespace: {{ .Release.Namespace }}