From 1bead9d7065d7844ef60e4ed56c673675f787f03 Mon Sep 17 00:00:00 2001 From: qiuming520 Date: Wed, 18 Dec 2024 14:09:23 +0800 Subject: [PATCH] add rbac for kosmos-scheduler Signed-off-by: qiuming520 --- deploy/scheduler/rbac.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/scheduler/rbac.yaml b/deploy/scheduler/rbac.yaml index 14a10b679..e8851d6c5 100644 --- a/deploy/scheduler/rbac.yaml +++ b/deploy/scheduler/rbac.yaml @@ -25,6 +25,14 @@ kind: ClusterRole metadata: name: kosmos-scheduler rules: + - verbs: + - get + - list + - watch + apiGroups: + - kosmos.io + resources: + - '*' - verbs: - create - patch