Skip to content

Commit

Permalink
templates: use /reana as mount path for jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez committed Jul 18, 2018
1 parent a018099 commit dad812c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion reana_job_controller/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def add_shared_volume(job):
else:
volume = volume_templates.get_k8s_hostpath_volume(
job['metadata']['namespace'])
mount_path = volume_templates.REANA_STORAGE_MOUNT_PATH
mount_path = config.SHARED_VOLUME_PATH_ROOT

job['spec']['template']['spec']['containers'][0]['volumeMounts'].append(
{'name': volume['name'], 'mountPath': mount_path}
Expand Down
2 changes: 0 additions & 2 deletions reana_job_controller/volume_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
'geant4': 'geant4.cern.ch'
}

REANA_STORAGE_MOUNT_PATH = '/data'

K8S_CEPHFS_TEMPLATE = Template("""{
"name": "$experiment-shared-volume",
"cephfs": {
Expand Down

0 comments on commit dad812c

Please sign in to comment.