
Tekton TaskRun Create
CertifiedCreate a Tekton TaskRun
Tekton TaskRun Create
Create a Tekton TaskRun
Creates a TaskRun and optionally waits for its terminal status.
type: io.kestra.plugin.tekton.taskrun.CreateExamples
Run a Tekton Task.
id: tekton_task
namespace: company.team
tasks:
- id: run
type: io.kestra.plugin.tekton.taskrun.Create
namespace: ci
taskRef: unit-tests
wait: true
Properties
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150connection
Kubernetes connection
Connection settings for the Kubernetes cluster. When omitted, Fabric8 discovers credentials from system properties, environment variables, kubeconfig, or the in-cluster service account.
inheritClusterConfig booleanstring
trueInherit cluster auto-configuration
When true, explicit connection fields override the ambient kubeconfig or in-cluster configuration.
namespace string
defaultTekton namespace
Namespace where the PipelineRun or TaskRun is managed.
params object
Task parameters
pollInterval string
PT5SPolling interval
How often a waiting task checks the run status.
serviceAccountName string
Service account name
spec string
Inline TaskRun spec
YAML for a Tekton TaskRun spec. Use this instead of taskRef for an inline taskSpec.
taskRef string
Task name
Name of an existing Tekton Task.
wait booleanstring
falseWait for completion
When true, wait for the Tekton run to reach a terminal Succeeded condition.
waitTimeout string
PT30MWait timeout
Maximum time to wait for the Tekton run to reach a terminal status.
workspaces array
Workspace bindings
Outputs
completionTime string
date-timeRun completion time
conditions array
Run conditions
io.kestra.plugin.tekton.model.TektonCondition
Last transition time
Condition message
Condition reason
Condition status
Condition type
name string
Run name
namespace string
Run namespace
results object
Run results
startTime string
date-timeRun start time
status string
Run status
True, False, or Unknown from the Tekton Succeeded condition.