From 03c11bc2b5fb90dfd8419ad750e80ffa3298c011 Mon Sep 17 00:00:00 2001 From: william-wang Date: Mon, 24 Jul 2023 10:39:30 +0800 Subject: [PATCH] add the job creation permission for jobflow controller Signed-off-by: william-wang --- installer/helm/chart/volcano/templates/controllers.yaml | 2 +- installer/volcano-development.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/helm/chart/volcano/templates/controllers.yaml b/installer/helm/chart/volcano/templates/controllers.yaml index 7c2929df9e..f8e37170d0 100644 --- a/installer/helm/chart/volcano/templates/controllers.yaml +++ b/installer/helm/chart/volcano/templates/controllers.yaml @@ -20,7 +20,7 @@ rules: verbs: ["create", "get", "list", "watch", "delete"] - apiGroups: ["batch.volcano.sh"] resources: ["jobs"] - verbs: ["get", "list", "watch", "update", "delete"] + verbs: ["create", "get", "list", "watch", "update", "delete"] - apiGroups: ["batch.volcano.sh"] resources: ["jobs/status", "jobs/finalizers"] verbs: ["update", "patch"] diff --git a/installer/volcano-development.yaml b/installer/volcano-development.yaml index 135ba20837..17ea59a768 100644 --- a/installer/volcano-development.yaml +++ b/installer/volcano-development.yaml @@ -8527,7 +8527,7 @@ rules: verbs: ["create", "get", "list", "watch", "delete"] - apiGroups: ["batch.volcano.sh"] resources: ["jobs"] - verbs: ["get", "list", "watch", "update", "delete"] + verbs: ["create", "get", "list", "watch", "update", "delete"] - apiGroups: ["batch.volcano.sh"] resources: ["jobs/status", "jobs/finalizers"] verbs: ["update", "patch"]