Skip to content

Commit

Permalink
Merge pull request #54 from oshoval/fix_rbac
Browse files Browse the repository at this point in the history
Add missing rbacs
  • Loading branch information
kubevirt-bot authored Aug 12, 2024
2 parents bb81fc5 + b48a7c0 commit 31dd1cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ rules:
- "virtualmachines"
- "virtualmachineinstances"
verbs: ["get", "list", "watch"]
- apiGroups: ["kubevirt.io"]
resources:
- "virtualmachines/finalizers"
- "virtualmachineinstances/finalizers"
verbs: ["update"]
- apiGroups: ["k8s.cni.cncf.io"]
resources:
- ipamclaims
Expand Down
7 changes: 7 additions & 0 deletions dist/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ rules:
- get
- list
- watch
- apiGroups:
- kubevirt.io
resources:
- virtualmachines/finalizers
- virtualmachineinstances/finalizers
verbs:
- update
- apiGroups:
- k8s.cni.cncf.io
resources:
Expand Down

0 comments on commit 31dd1cd

Please sign in to comment.