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