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