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 6, 2025
1 parent 97b3b43 commit 9c8e026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/harvester-network-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.0-dev.0
version: 1.5.0-dev.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
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 9c8e026

Please sign in to comment.