Skip to content

Commit

Permalink
Update sparkapplication_example.yaml (#2966)
Browse files Browse the repository at this point in the history
* Update sparkapplication_example.yaml

Signed-off-by: Julius von Kohout <[email protected]>

* Update sparkapplication_example.yaml

Signed-off-by: Julius von Kohout <[email protected]>

---------

Signed-off-by: Julius von Kohout <[email protected]>
  • Loading branch information
juliusvonkohout authored Jan 23, 2025
1 parent e36ee3c commit 2f8fea0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions contrib/spark/sparkapplication_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,29 @@ spec:
serviceAccount: default-editor
annotations:
"sidecar.istio.io/inject": "false"
securityContext:
capabilities:
drop:
- ALL
runAsUser: 185
runAsGroup: 0
runAsNonRoot: true
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
executor:
instances: 1
cores: 1
memory: 512m
annotations:
"sidecar.istio.io/inject": "false"
securityContext:
capabilities:
drop:
- ALL
runAsUser: 185
runAsGroup: 0
runAsNonRoot: true
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault

0 comments on commit 2f8fea0

Please sign in to comment.