Skip to content
Snippets Groups Projects
Commit a8943c90 authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Update create_job.sh to run OpenShift job with specific user id

parent be3a5e24
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,15 @@ spec:
metadata:
name: testjob
spec:
securityContext:
supplementalGroups: [1000410000]
seLinuxOptions:
level: s0:c25,c10
containers:
- name: simplejob
image: docker-registry.ebrains.eu/tc/ebrains-spack-build-env:latest
securityContext:
runAsUser: 1000410000
volumeMounts:
- name: sharedbin
mountPath: /srv
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment