You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/04/07 18:02:27 UTC
(spark-kubernetes-operator) branch main updated: [SPARK-53640] Operator Helm Chart: support additionalContainers, volumes, volumeMounts as array
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 c2b6cda [SPARK-53640] Operator Helm Chart: support additionalContainers, volumes, volumeMounts as array
c2b6cda is described below
commit c2b6cda4ed315caf28de00a93fe8a9e5a8d2d751
Author: Qi Tan <16...@users.noreply.github.com>
AuthorDate: Tue Apr 7 11:02:20 2026 -0700
[SPARK-53640] Operator Helm Chart: support additionalContainers, volumes, volumeMounts as array
### What changes were proposed in this pull request?
This PR aims to support additionalContainers, volumes, volumeMounts as array.
### Why are the changes needed?
Support sidecar containers, such as logging forwarder, metrics exporter etc.
### Does this PR introduce _any_ user-facing change?
Yes.
### How was this patch tested?
helm template cmd using test-value.yaml
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code claude-opus-4-6
Closes #616 from TQJADE/qi-SPARK-53640.
Authored-by: Qi Tan <16...@users.noreply.github.com>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
.../spark-kubernetes-operator/values.schema.json | 21 +++++++++++++++------
.../helm/spark-kubernetes-operator/values.yaml | 6 +++---
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/build-tools/helm/spark-kubernetes-operator/values.schema.json b/build-tools/helm/spark-kubernetes-operator/values.schema.json
index 4260901..314c661 100644
--- a/build-tools/helm/spark-kubernetes-operator/values.schema.json
+++ b/build-tools/helm/spark-kubernetes-operator/values.schema.json
@@ -170,9 +170,12 @@
}
},
"volumeMounts": {
- "type": "object",
+ "type": ["null", "array"],
"description": "Container volume mounts",
- "additionalProperties": true
+ "items": {
+ "type": "object",
+ "additionalProperties": true
+ }
},
"resources": {
"type": "object",
@@ -358,14 +361,20 @@
}
},
"additionalContainers": {
- "type": "object",
+ "type": ["null", "array"],
"description": "Additional containers in the pod",
- "additionalProperties": true
+ "items": {
+ "type": "object",
+ "additionalProperties": true
+ }
},
"volumes": {
- "type": "object",
+ "type": ["null", "array"],
"description": "Pod volumes",
- "additionalProperties": true
+ "items": {
+ "type": "object",
+ "additionalProperties": true
+ }
},
"securityContext": {
"type": "object",
diff --git a/build-tools/helm/spark-kubernetes-operator/values.yaml b/build-tools/helm/spark-kubernetes-operator/values.yaml
index ce5dc55..64c6d13 100644
--- a/build-tools/helm/spark-kubernetes-operator/values.yaml
+++ b/build-tools/helm/spark-kubernetes-operator/values.yaml
@@ -46,7 +46,7 @@ operatorDeployment:
- name: "SPARK_USER"
value: "spark"
envFrom:
- volumeMounts: { }
+ volumeMounts: [ ]
resources:
limits:
cpu: "1"
@@ -82,8 +82,8 @@ operatorDeployment:
runAsUser: 185
seccompProfile:
type: RuntimeDefault
- additionalContainers: { }
- volumes: { }
+ additionalContainers: [ ]
+ volumes: [ ]
securityContext: { }
dnsPolicy:
dnsConfig:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org