Define RBAC for running in cluster.
This commit is contained in:
parent
ea6751282c
commit
f24b6aca52
5 changed files with 44 additions and 1 deletions
13
deploy/vmrunner-role-binding.yaml
Normal file
13
deploy/vmrunner-role-binding.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: vm-runner
|
||||
labels:
|
||||
app.kubernetes.io/name: vm-operator
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: vm-runner
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: vm-runner
|
||||
Loading…
Add table
Add a link
Reference in a new issue