From b75e0d6e80768fa6d494bebaccdc0f39fe9fac4b Mon Sep 17 00:00:00 2001 From: xuzhonghu Date: Wed, 1 Jul 2020 15:52:41 +0800 Subject: [PATCH] add cluster role --- installer/helm/chart/volcano/templates/scheduler.yaml | 2 +- installer/volcano-development.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/helm/chart/volcano/templates/scheduler.yaml b/installer/helm/chart/volcano/templates/scheduler.yaml index 26252969a8e..b810442d9dc 100644 --- a/installer/helm/chart/volcano/templates/scheduler.yaml +++ b/installer/helm/chart/volcano/templates/scheduler.yaml @@ -31,7 +31,7 @@ rules: verbs: ["create", "list", "watch", "update", "patch"] - apiGroups: [""] resources: ["pods", "pods/status"] - verbs: ["create", "get", "list", "watch", "update", "bind", "updateStatus", "delete"] + verbs: ["create", "get", "list", "watch", "update", "patch", "bind", "updateStatus", "delete"] - apiGroups: [""] resources: ["pods/binding"] verbs: ["create"] diff --git a/installer/volcano-development.yaml b/installer/volcano-development.yaml index a0307152112..f0b35062dc7 100644 --- a/installer/volcano-development.yaml +++ b/installer/volcano-development.yaml @@ -302,7 +302,7 @@ rules: verbs: ["create", "list", "watch", "update", "patch"] - apiGroups: [""] resources: ["pods"] - verbs: ["create", "get", "list", "watch", "update", "bind", "delete"] + verbs: ["create", "get", "list", "watch", "update", "patch", "bind", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "create"]