Skip to content

Commit 35405b7

Browse files
committed
Update Cluster role permissions
This commit updates the roles with proper permissions to perform operations on endpointslices on Kubernetes. Signed-off-by: Elis Lulja <[email protected]>
1 parent 13d5eb6 commit 35405b7

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

config/rbac/role.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@ rules:
1414
verbs:
1515
- get
1616
- list
17+
- watch
18+
- apiGroups:
19+
- discovery.k8s.io
20+
resources:
21+
- endpointslices
22+
verbs:
23+
- get
24+
- list
1725
- watch

deploy/03_cluster_role.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ rules:
1212
resources:
1313
- namespaces
1414
- services
15+
- verbs:
16+
- get
17+
- list
18+
- watch
19+
apiGroups:
20+
- discovery.k8s.io
21+
resources:
22+
- endpointslices

0 commit comments

Comments
 (0)