ArgoWorkflowTemplate
Commands
apply
Apply Workflow Template
Create or update a workflow template. If the template exists it will be updated; otherwise a new template is created.
Basic CLI Use
Contents of thetemplate.yaml file
Returns:
| Name | Type | Description |
|---|---|---|
template |
dict
|
The created or updated workflow template object. |
Parameters:
--file, -f, --cli-input
create
Create Workflow Template
Create a new Argo Workflow Template.
Basic CLI Use
Contents of thetemplate.yaml file
Returns:
| Name | Type | Description |
|---|---|---|
template |
dict
|
The created workflow template object. |
Parameters:
--file, -f, --cli-input
delete
find
Get Workflow Template
Find a specific workflow template by name.
Returns:
| Name | Type | Description |
|---|---|---|
template |
dict
|
The full workflow template object. |
Parameters:
name
positional
list
List Workflow Templates
Retrieve all workflow templates in the current tenant namespace.
Returns:
| Name | Type | Description |
|---|---|---|
templates |
dict
|
A dict containing the list of Argo workflow templates. |
update
Update Workflow Template
Update an existing Argo Workflow Template. Fetches the current resourceVersion and merges it into the body before submitting.
Basic CLI Use
Contents of thetemplate.yaml file
Returns:
| Name | Type | Description |
|---|---|---|
template |
dict
|
The updated workflow template object. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the template name is missing from metadata. |
Parameters:
--file, -f, --cli-input