summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/kubevirt-operator/templates/rolebinding.yaml
blob: 89489f9a3daea9f8ee2f4d4ee83ed41e57e04ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: kubevirt-operator-rolebinding
  labels:
    {{- include "kubevirt-operator.labels" . | nindent 4 }}
    kubevirt.io: ""
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: kubevirt-operator
subjects:
- kind: ServiceAccount
  name: {{ include "kubevirt-operator.serviceAccountName" . }}
  namespace: {{ .Release.Namespace }}