summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml')
-rw-r--r--kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml b/kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml
new file mode 100644
index 00000000..9f6b1c37
--- /dev/null
+++ b/kud/deployment_infra/helm/cdi-operator/templates/clusterrolebinding.yaml
@@ -0,0 +1,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 }}