Skip to content

Commit 8fa8b16

Browse files
committed
include RBAC to access endpointslices
1 parent f99ea07 commit 8fa8b16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/core/200-roles/clusterrole.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ rules:
3030
- apiGroups: [""]
3131
resources: ["namespaces/finalizers"] # finalizers are needed for the owner reference of the webhook
3232
verbs: ["update"]
33+
- apiGroups: ["discovery.k8s.io"]
34+
resources: ["endpointslices"]
35+
verbs: ["get", "list", "create", "update", "delete", "patch", "watch"]
3336
- apiGroups: ["apps"]
3437
resources: ["deployments", "deployments/finalizers"] # finalizers are needed for the owner reference of the webhook
3538
verbs: ["get", "list", "create", "update", "delete", "patch", "watch"]

0 commit comments

Comments
 (0)