Resource Definition
string
required
tekton.dev/v1string
required
TaskRunObjectMeta
required
Standard Kubernetes metadata.
TaskRunSpec
required
Defines the desired state of the TaskRun.
TaskRunStatus
Defines the observed state of the TaskRun.
TaskRunSpec
TaskRef
Reference to the Task to execute. Mutually exclusive with
taskSpec.TaskSpec
Inline Task specification. Mutually exclusive with
taskRef.Can be disabled by setting the disable-inline-spec feature flag.[]Param
Parameters to pass to the Task.See Parameter Types for details.
string
ServiceAccount to use for running the TaskRun.
[]WorkspaceBinding
Workspace bindings for the TaskRun.See Workspace Types for details.
Duration
Time after which the TaskRun times out. Defaults to 1 hour.Format: Go duration string (e.g., “1h30m”, “90m”)
integer
default:0
Number of times to retry on task failure.
string
Used for cancelling a TaskRun.Values:
TaskRunCancelled- Cancel the TaskRun
string
Human-readable status message for cancellation.
ResourceRequirements
Compute resources to use for this TaskRun.
PodTemplate
Pod-specific configuration for the TaskRun’s pod.
TaskRunStatus
[]Condition
Conditions describe the current state of the TaskRun.
Time
Time when the TaskRun started executing.
Time
Time when the TaskRun completed.
string
Name of the pod executing the TaskRun.
[]StepState
State of each Step in the Task.
[]TaskRunResult
Results produced by the TaskRun.See Result Types for details.
TaskSpec
The resolved Task specification that was executed.