From bd1b40552593b73395bfae0d63b63b26d13f020e Mon Sep 17 00:00:00 2001 From: vsoch Date: Sun, 28 Jun 2026 07:36:16 -0700 Subject: [PATCH] rbac: add batch permissions Signed-off-by: vsoch --- deploy/fluence-pull-test.yaml | 3 +++ deploy/fluence-test.yaml | 3 +++ deploy/fluence.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/deploy/fluence-pull-test.yaml b/deploy/fluence-pull-test.yaml index 8e42158..ec819ae 100644 --- a/deploy/fluence-pull-test.yaml +++ b/deploy/fluence-pull-test.yaml @@ -82,6 +82,9 @@ rules: - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "create"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["get", "list", "watch"] - apiGroups: ["rbac.authorization.k8s.io"] resources: ["roles", "rolebindings"] verbs: ["get", "create"] diff --git a/deploy/fluence-test.yaml b/deploy/fluence-test.yaml index ab61a91..585385f 100644 --- a/deploy/fluence-test.yaml +++ b/deploy/fluence-test.yaml @@ -82,6 +82,9 @@ rules: - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "create"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["get", "list", "watch"] - apiGroups: ["rbac.authorization.k8s.io"] resources: ["roles", "rolebindings"] verbs: ["get", "create"] diff --git a/deploy/fluence.yaml b/deploy/fluence.yaml index 7d71386..5168647 100644 --- a/deploy/fluence.yaml +++ b/deploy/fluence.yaml @@ -79,6 +79,9 @@ rules: - apiGroups: [""] resources: ["serviceaccounts"] verbs: ["get", "create"] + - apiGroups: ["batch"] + resources: ["jobs"] + verbs: ["get", "list", "watch"] - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "create"]