Skip to content

Commit

Permalink
Add RBAC to manipulate VMI and VMIM (#907)
Browse files Browse the repository at this point in the history
In order to support storage live migration we need
to be able to get/list the VMI and VMIM objects.

Signed-off-by: Alexander Wels <awels@redhat.com>
  • Loading branch information
awels committed Aug 12, 2024
1 parent 13e4c9a commit d69da15
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,15 @@ spec:
- list
- get
- watch
- apiGroups:
- kubevirt.io
resources:
- 'virtualmachineinstances'
- 'virtualmachineinstancemigrations'
verbs:
- list
- get
- watch
- serviceAccountName: migration-controller
rules:
- apiGroups:
Expand Down Expand Up @@ -620,6 +629,15 @@ spec:
- list
- get
- watch
- apiGroups:
- kubevirt.io
resources:
- 'virtualmachineinstances'
- 'virtualmachineinstancemigrations'
verbs:
- list
- get
- watch
deployments:
- name: migration-operator
spec:
Expand Down

0 comments on commit d69da15

Please sign in to comment.