Skip to content

Commit 9c8e026

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 97b3b43 commit 9c8e026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/harvester-network-controller/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.5.0-dev.0
18+
version: 1.5.0-dev.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

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)