Skip to content

Commit

Permalink
Add virtualmachines to harvester-network-webhook rbac
Browse files Browse the repository at this point in the history
 Check vm when a NAD is deleted

Signed-off-by: Jian Wang <[email protected]>
  • Loading branch information
w13915984028 committed Mar 3, 2025
1 parent cfc7874 commit c6d457e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/harvester-network-controller/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ rules:
resources: [ "validatingwebhookconfigurations", "mutatingwebhookconfigurations" ]
verbs: [ "*" ]
- apiGroups: [ "kubevirt.io" ]
resources: [ "virtualmachineinstances" ]
resources: [ "virtualmachineinstances", "virtualmachines" ]
verbs: [ "get", "watch", "list" ]
- apiGroups: [ "network.harvesterhci.io" ]
resources: [ "vlanconfigs", "vlanstatuses", "clusternetworks" ]
Expand Down

0 comments on commit c6d457e

Please sign in to comment.