Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabala1979 committed Mar 19, 2021
1 parent 29e75d8 commit 1c2f833
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions docs/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ Workflow is the definition of a workflow resource

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`timeouts-step.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/timeouts-step.yaml)

Expand Down Expand Up @@ -653,9 +653,9 @@ WorkflowSpec is the specification of a Workflow.

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`testvolume.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/testvolume.yaml)

Expand Down Expand Up @@ -1045,9 +1045,9 @@ CronWorkflowSpec is the specification of a CronWorkflow

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`testvolume.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/testvolume.yaml)

Expand Down Expand Up @@ -1394,9 +1394,9 @@ WorkflowTemplateSpec is a spec of WorkflowTemplate.

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`testvolume.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/testvolume.yaml)

Expand Down Expand Up @@ -1770,7 +1770,7 @@ RetryStrategy provides controls on how to retry a workflow step

- [`retry-with-steps.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/retry-with-steps.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`templates.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/workflow-template/templates.yaml)
</details>
Expand Down Expand Up @@ -1814,7 +1814,7 @@ Template is a reusable and composable unit of execution in a workflow
<summary>Examples with this field (click to open)</summary>
<br>

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)
</details>

### Fields
Expand Down Expand Up @@ -3083,9 +3083,9 @@ WorkflowStep is a reference to a template to execute in a series of step

- [`synchronization-tmpl-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-tmpl-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`timeouts-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/timeouts-workflow.yaml)

Expand Down Expand Up @@ -3609,7 +3609,7 @@ MetricLabel is a single label for a prometheus metric

- [`selected-executor-workflow.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/selected-executor-workflow.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)
</details>

### Fields
Expand Down Expand Up @@ -4359,9 +4359,9 @@ ObjectMeta is metadata that all persisted resources must have, which includes al

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`testvolume.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/testvolume.yaml)

Expand Down Expand Up @@ -4676,7 +4676,7 @@ _No description available_

- [`retry-with-steps.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/retry-with-steps.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`templates.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/workflow-template/templates.yaml)
</details>
Expand Down Expand Up @@ -4917,9 +4917,9 @@ A single application container that you want to run within a pod.

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`timeouts-step.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/timeouts-step.yaml)

Expand Down Expand Up @@ -5592,9 +5592,9 @@ PersistentVolumeClaimSpec describes the common attributes of storage devices and

- [`synchronization-wf-level.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/synchronization-wf-level.yaml)

- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)
- [`template-defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-defaults.yaml)

- [`template_defaults.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template_defaults.yaml)
- [`template-on-exit.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/template-on-exit.yaml)

- [`testvolume.yaml`](https://github.com/argoproj/argo-workflows/blob/master/examples/testvolume.yaml)

Expand Down
4 changes: 2 additions & 2 deletions docs/template-defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ spec:
container:
image: docker/whalesay:latest
```
[template defaults example](examples/template_defaults.yaml)
[template defaults example](examples/template-defaults.yaml)
## Configuring `templateDefaults` in Controller level
## Configuring `templateDefaults` in Controller Level
Operator can configure the `templateDefaults` in [workflowDefaults](default-workflow-specs.md). This `templateDefault` will be applied to all the workflow which runs on the controller.

The following would be specified in the Config Map:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:

- name: whalesay
container:
image: docker/whalesay:latest
image: argoproj/argosay:v2
command: [cowsay]
args: ["hello world"]

Expand Down

0 comments on commit 1c2f833

Please sign in to comment.