You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/pipelineruns.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,9 @@ following fields:
42
42
object that enables your build to run with the defined authentication
43
43
information. When a `ServiceAccount` isn't specified, the `default-service-account`
44
44
specified in the configmap - config-defaults will be applied.
45
-
-[`serviceAccountNames`](#service-accounts) - Specifies a list of `ServiceAccountName`
46
-
and `PipelineTask` pairs that enable you to overwrite `ServiceAccount` for concrete `PipelineTask`.
47
-
-[`timeout`] - Specifies timeout after which the `PipelineRun` will fail. If the value of
45
+
-[`serviceAccountNames`](#service-accounts) - Specifies a list of `serviceAccountName`
46
+
and `PipelineTask` pairs that enable you to overwrite a `ServiceAccount` for a concrete `PipelineTask`.
47
+
-`timeout` - Specifies timeout after which the `PipelineRun` will fail. If the value of
48
48
`timeout` is empty, the default timeout will be applied. If the value is set to 0,
49
49
there is no timeout. `PipelineRun` shares the same default timeout as `TaskRun`. You can
50
50
follow the instruction [here](taskruns.md#Configuring-default-timeout) to configure the
@@ -85,14 +85,14 @@ spec:
85
85
greetings while embedding the spec of the `Pipeline` directly in the `PipelineRun`.
86
86
87
87
88
-
After creating such `PipelineRun`, logs from a pod displaying morning greetings:
88
+
After creating such a `PipelineRun`, the logs from this pod are displaying morning greetings:
89
89
90
90
```bash
91
91
kubectl logs $(kubectl get pods -o name | grep pipelinerun-echo-greetings-echo-good-morning)
92
92
Good Morning, Bob!
93
93
```
94
94
95
-
And logs from a pod displaying morning greetings:
95
+
And the logs from this pod are displaying evening greetings:
96
96
```bash
97
97
kubectl logs $(kubectl get pods -o name | grep pipelinerun-echo-greetings-echo-good-night)
98
98
Good Night, Bob!
@@ -107,12 +107,12 @@ be run with different `PipelineResources` in cases such as:
107
107
- When triggering the run of a `Pipeline` against a pull request, the triggering
108
108
system must specify the commitish of a git `PipelineResource` to use
109
109
- When invoking a `Pipeline` manually against one's own setup, one will need to
110
-
ensure that one's own GitHub fork (via the git `PipelineResource`), image
110
+
ensure one's own GitHub fork (via the git `PipelineResource`), image
111
111
registry (via the image `PipelineResource`) and Kubernetes cluster (via the
112
112
cluster `PipelineResource`).
113
113
114
-
Specify the `PipelineResources` in the PipelineRun using the `resources` section
115
-
in the `PipelineRun` spec, for example:
114
+
Specify the `PipelineResources` in the `PipelineRun` using the `resources` section
115
+
in the PipelineRun's spec, for example:
116
116
117
117
```yaml
118
118
spec:
@@ -162,7 +162,7 @@ Specifies the `name` of a `ServiceAccount` resource object. Use the
162
162
`serviceAccountName`field to run your `Pipeline` with the privileges of the
163
163
specified service account. If no `serviceAccountName` field is specified, your
164
164
resulting `TaskRuns` run using the service account specified in the ConfigMap
165
-
`configmap-defaults`which if absent will default to
165
+
`configmap-defaults`which if absent will default to the
166
166
[`default` service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)
167
167
that is in the [namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/)
168
168
of the `TaskRun` resource object.
@@ -172,9 +172,9 @@ For examples and more information about specifying service accounts, see the
172
172
173
173
### Service Accounts
174
174
175
-
Specifies the list of `ServiceAccountName` and `PipelineTask` pairs. Specified
176
-
`PipelineTask`will be run with configured `ServiceAccount`,
177
-
overwriting [`serviceAccountName`](#service-account) configuration, for example:
175
+
Specifies the list of `serviceAccountName` and `PipelineTask` pairs. A specified
176
+
`PipelineTask`will be run with the configured `ServiceAccount`,
177
+
overwriting the [`serviceAccountName`](#service-account) configuration, for example:
178
178
179
179
```yaml
180
180
spec:
@@ -220,9 +220,9 @@ allows to customize some Pod specific field per `Task` execution, aka
0 commit comments