Skip to content

Commit 7610901

Browse files
committed
fix: grant nad update permission to vm-dhcp-controller
Decoupling IPPools and NADs means the relationship between the two parties will be built upon labels. The controller needs to update the referenced NADs with appropriate labels, hence the UPDATE permission should be granted to the controller's service account. Signed-off-by: Zespre Chang <[email protected]>
1 parent 6bb8d2a commit 7610901

File tree

1 file changed

+1
-1
lines changed
  • charts/harvester-vm-dhcp-controller/templates

1 file changed

+1
-1
lines changed

charts/harvester-vm-dhcp-controller/templates/rbac.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rules:
1111
verbs: [ "*" ]
1212
- apiGroups: [ "k8s.cni.cncf.io" ]
1313
resources: [ "network-attachment-definitions" ]
14-
verbs: [ "get", "watch", "list" ]
14+
verbs: [ "get", "watch", "list", "update" ]
1515
- apiGroups: [ "" ]
1616
resources: [ "nodes" ]
1717
verbs: [ "get", "watch", "list" ]

0 commit comments

Comments
 (0)