This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 1b3930b [SPARK-53721] Fix `HelmChart` template to use Spark-version
agnostic `SentinelResource`
1b3930b is described below
commit 1b3930b3f11132caeea1c0b5a50c48cb1c4c241b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Sep 25 14:48:10 2025 -0700
[SPARK-53721] Fix `HelmChart` template to use Spark-version agnostic
`SentinelResource`
### What changes were proposed in this pull request?
This PR aims to fix `HelmChart` template to use Spark-version agnostic
`SentinelResource`.
### Why are the changes needed?
Although we use `SparkApplication` for a sentinel resource, we don't need a
specific Spark version or Scala version.
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #347 from dongjoon-hyun/SPARK-53721.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../helm/spark-kubernetes-operator/templates/workload-rbac.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/build-tools/helm/spark-kubernetes-operator/templates/workload-rbac.yaml
b/build-tools/helm/spark-kubernetes-operator/templates/workload-rbac.yaml
index 1af4e24..5af3b31 100644
--- a/build-tools/helm/spark-kubernetes-operator/templates/workload-rbac.yaml
+++ b/build-tools/helm/spark-kubernetes-operator/templates/workload-rbac.yaml
@@ -173,8 +173,7 @@ metadata:
{{- template "spark-operator.workloadAnnotations" $ }}
spec:
runtimeVersions:
- sparkVersion: 4.0.0
- scalaVersion: "2.13"
+ sparkVersion: "dummy"
{{- end }}
---
{{- end }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]