aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/cdi-operator/templates/rolebinding.yaml
blob: 51122838bb481bdea20af1bb89a7a326bc223045 (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: cdi-operator
  labels:
    {{- include "cdi-operator.labels" . | nindent 4 }}
    cdi.kubevirt.io: ""
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: cdi-operator
subjects:
- kind: ServiceAccount
  name: {{ include "cdi-operator.serviceAccountName" . }}
  namespace: {{ .Release.Namespace }}