Skip to content

Commit a0792f9

Browse files
committed
fix(rbac): allow listing nodes for VM migration
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
1 parent 79f37d4 commit a0792f9

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

templates/rbacv2/use/capabilities/execute_virtualmachine_operations.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ rules:
1818
- patch
1919
- delete
2020
- deletecollection
21+
- apiGroups:
22+
- ""
23+
resources:
24+
- nodes
25+
verbs:
26+
- get
27+
- list
28+
- watch

templates/user-authz-cluster-roles.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ rules:
8787
- deletecollection
8888
- patch
8989
- update
90+
- apiGroups:
91+
- ""
92+
resources:
93+
- nodes
94+
verbs:
95+
- get
96+
- list
97+
- watch
9098
---
9199
apiVersion: rbac.authorization.k8s.io/v1
92100
kind: ClusterRole

0 commit comments

Comments
 (0)