Skip to content

Commit

Permalink
update spark to 2.1.0 (#2962)
Browse files Browse the repository at this point in the history
Signed-off-by: juliusvonkohout <[email protected]>
  • Loading branch information
juliusvonkohout authored Jan 20, 2025
1 parent 26dadec commit 46bc2c3
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 41 deletions.
2 changes: 1 addition & 1 deletion contrib/spark/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SPARK_OPERATOR_RELEASE_VERSION ?= 2.0.2
SPARK_OPERATOR_RELEASE_VERSION ?= 2.1.0
SPARK_OPERATOR_HELM_CHART_REPO ?= https://kubeflow.github.io/spark-operator

.PHONY: spark-operator/base
Expand Down
20 changes: 12 additions & 8 deletions contrib/spark/spark-operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,36 @@ namespace: kubeflow
patches:
- target:
kind: Deployment
labelSelector: "app.kubernetes.io/name=spark-operator"
name: spark-operator-webhook
patch: |-
- op: add
path: /spec/template/spec/containers/0/securityContext
value:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 185
seccompProfile:
type: RuntimeDefault
type: RuntimeDefault # Only this is missing upstream!
- target:
kind: Deployment
labelSelector: "app.kubernetes.io/name=spark-operator"
name: spark-operator-controller
patch: |-
- op: add
path: /spec/template/spec/containers/0/securityContext
value:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 185
seccompProfile:
type: RuntimeDefault
type: RuntimeDefault # only this is missing upstream!
- target:
kind: Deployment
name: spark-operator-webhook
Expand Down
Loading

0 comments on commit 46bc2c3

Please sign in to comment.