-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexplorer-ows-update.yaml
44 lines (44 loc) · 1.12 KB
/
explorer-ows-update.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: explorer-ows-update
namespace: processing
spec:
entrypoint: update
podGC:
strategy: OnPodSuccess
ttlStrategy:
secondsAfterCompletion: 300
workflowMetadata:
labels:
app: update-explorer-ows-workflowmetadata
arguments:
parameters:
- name: products
value: --all
templates:
- name: update
metadata:
labels:
app: argo-explorer-ows-update
inputs:
parameters:
- name: products
value: "{{workflow.parameters.products}}"
steps:
- - name: update-explorer
templateRef:
name: explorer-update
template: explorer-update
arguments:
parameters:
- name: products
value: "{{inputs.parameters.products}}"
- name: update-ows
templateRef:
name: ows-update
template: ows-update
arguments:
parameters:
- name: products
value: "{{inputs.parameters.products}}"