Skip to content

Commit abb63a0

Browse files
committed
Set notebook parameters with workflow and in spec: arguments: parameters:
1 parent d11bfab commit abb63a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

i14/templates/dpc-template.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ spec:
1919
configMapKeyRef:
2020
name: sessionspaces
2121
key: data_directory
22+
- name: outputFolder
23+
value: /tmp/output
24+
- name: singleFirst
25+
value: 395329
2226
volumeClaimTemplates:
2327
- metadata:
2428
name: tmp
@@ -44,9 +48,9 @@ spec:
4448
inputs:
4549
parameters:
4650
- name: outputFolder
47-
value: /tmp/output
51+
value: "{{`{{ workflow.parameters.outputFolder }}`}}"
4852
- name: singleFirst
49-
value: 280793
53+
value: "{{`{{ workflow.parameters.singleFirst }}`}}"
5054
script:
5155
image: gitlab.diamond.ac.uk:5050/i14/i14_utility/dpc:v0.1
5256
env:

0 commit comments

Comments
 (0)