Skip to content

Commit

Permalink
Add RBAC to manipulate VMs and DataVolumes (#902)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Wels <awels@redhat.com>
  • Loading branch information
awels committed Jun 5, 2024
1 parent cf07227 commit 13e4c9a
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,25 @@ spec:
- edit
- patch
- delete
- apiGroups:
- cdi.kubevirt.io
resources:
- 'datavolumes'
verbs:
- create
- delete
- list
- watch
- get
- apiGroups:
- kubevirt.io
resources:
- 'VirtualMachines'
verbs:
- update
- list
- get
- watch
- serviceAccountName: migration-controller
rules:
- apiGroups:
Expand Down Expand Up @@ -582,6 +601,25 @@ spec:
- '*'
verbs:
- '*'
- apiGroups:
- cdi.kubevirt.io
resources:
- 'datavolumes'
verbs:
- create
- delete
- list
- watch
- get
- apiGroups:
- kubevirt.io
resources:
- 'VirtualMachines'
verbs:
- update
- list
- get
- watch
deployments:
- name: migration-operator
spec:
Expand Down

0 comments on commit 13e4c9a

Please sign in to comment.