Skip to content

Commit c6d457e

Browse files
committed
Add virtualmachines to harvester-network-webhook rbac
Check vm when a NAD is deleted Signed-off-by: Jian Wang <jian.wang@suse.com>
1 parent cfc7874 commit c6d457e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • charts/harvester-network-controller/templates

charts/harvester-network-controller/templates/rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ rules:
121121
resources: [ "validatingwebhookconfigurations", "mutatingwebhookconfigurations" ]
122122
verbs: [ "*" ]
123123
- apiGroups: [ "kubevirt.io" ]
124-
resources: [ "virtualmachineinstances" ]
124+
resources: [ "virtualmachineinstances", "virtualmachines" ]
125125
verbs: [ "get", "watch", "list" ]
126126
- apiGroups: [ "network.harvesterhci.io" ]
127127
resources: [ "vlanconfigs", "vlanstatuses", "clusternetworks" ]

0 commit comments

Comments
 (0)