From f9cff8bff85ed915ac43d236d319a21692d84472 Mon Sep 17 00:00:00 2001 From: Gezim Sejdiu Date: Thu, 17 Oct 2024 14:21:19 +0200 Subject: [PATCH] fix: expand spark rbac to include scheduledsparkapplication (#2894) Signed-off-by: Gezim Sejdiu --- contrib/spark/spark-operator/base/aggregated-roles.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/spark/spark-operator/base/aggregated-roles.yaml b/contrib/spark/spark-operator/base/aggregated-roles.yaml index aabd1644e..5200f3eb6 100644 --- a/contrib/spark/spark-operator/base/aggregated-roles.yaml +++ b/contrib/spark/spark-operator/base/aggregated-roles.yaml @@ -23,6 +23,7 @@ rules: - sparkoperator.k8s.io resources: - sparkapplications + - scheduledsparkapplications verbs: - create - delete @@ -35,6 +36,7 @@ rules: - sparkoperator.k8s.io resources: - sparkapplications/status + - scheduledsparkapplications/status verbs: - get --- @@ -51,6 +53,7 @@ rules: - sparkoperator.k8s.io resources: - sparkapplications + - scheduledsparkapplications verbs: - get - list @@ -59,6 +62,7 @@ rules: - sparkoperator.k8s.io resources: - sparkapplications/status + - scheduledsparkapplications/status verbs: - get ---