diff --git a/wss/Chart.yaml b/wss/Chart.yaml index 3d45a40..7c45e91 100644 --- a/wss/Chart.yaml +++ b/wss/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: dc-sim +name: wss description: run dc-sim type: application diff --git a/wss/templates/dc-sim.yaml b/wss/templates/dc-sim.yaml index dcec79c..09d74b7 100644 --- a/wss/templates/dc-sim.yaml +++ b/wss/templates/dc-sim.yaml @@ -11,7 +11,7 @@ spec: arguments: parameters: - name: RECIPEWRAP - value: "" + value: "" # default value templates: - name: run-dc-sim @@ -21,9 +21,17 @@ spec: script: image: ghcr.io/diamondlightsource/dlstbx command: [bash] + volumeMounts: + - name: "dlsfilesystem" + mountPath: "/" source: | echo dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}" >runinfo dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}" + volumes: + - name: dlsfilesystem + hostPath: + path: "{{ inputs.parameters.RECIPEWRAP }}" + type: Directory - name: workflow-entry dag: