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
This commit changes the default of embedded-status to minimal status.
Prior to this PR, the `DefaultEmbeddedStatus` is `full`, the pipelineRun reconciler
will populate both `taskruns` and `runs` for `pipelineRunStatus`. With the change
to `minimal`, the reconciler populates `childReferences` instead.
Copy file name to clipboardExpand all lines: docs/pipelineruns.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -1392,17 +1392,18 @@ Your `PipelineRun`'s `status` field can contain the following fields:
1392
1392
1393
1393
### Configuring usage of `TaskRun` and `Run` embedded statuses
1394
1394
1395
-
Currently, the default behavior is for the statuses of `TaskRun`s and `Run`s within this `PipelineRun`
1396
-
to be embedded in the `status.taskRuns` and `status.runs` fields. This will change in the future to
1397
-
instead default to `status.childReferences` being populated with references to the `TaskRun`s and
1395
+
Currently, the default behavior is default to `status.childReferences` being populated with references to the `TaskRun`s and
1398
1396
`Run`s, which can be used to look up their statuses.
1399
1397
1400
1398
This behavior can be controlled by changing the `embedded-status` feature flag in the `feature-flags`
1401
1399
config map. See [`install.md`](./install.md#customizing-the-pipelines-controller-behavior) for more
1402
1400
information on feature flags. The possible values for `embedded-status` are:
1403
-
- `full`- The current default behavior of populating `status.taskRuns` and `status.runs`, without populating `status.childReferences`.
1404
-
- `minimal`- Just populate `status.childReferences`, not `status.taskRuns` or `status.runs`.
1401
+
- `minimal`- The current default behavior, populate `status.childReferences`, not `status.taskRuns` or `status.runs`.
1405
1402
- `both`- Populate `status.childReferences` as well as `status.taskRuns` and `status.runs`.
1403
+
- `full`- Populating `status.taskRuns` and `status.runs`, without populating `status.childReferences`.
1404
+
1405
+
*Note that after the PipelineRunStatus migration as planned in [TEP-100](https://github.com/tektoncd/community/blob/main/teps/0100-embedded-taskruns-and-runs-status-in-pipelineruns.md),
1406
+
the `full` and `both` `embedded-status` options will be removed.
0 commit comments