Skip to content

Commit 6acc3a1

Browse files
committed
Add virtualmachines to harvester-network-webhook rbac
Check vm when a NAD is deleted Signed-off-by: Jian Wang <[email protected]>
1 parent 7610901 commit 6acc3a1

File tree

1 file changed

+1
-1
lines changed
  • charts/harvester-network-controller/templates

1 file changed

+1
-1
lines changed

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

+1-1
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)