{ "swagger": "2.0", "info": { "description": "Tekton Pipeline", "title": "Tekton", "version": "v0.17.2" }, "paths": {}, "definitions": { "pod.AffinityAssistantTemplate": { "description": "AffinityAssistantTemplate holds pod specific configuration and is a subset of the generic pod Template", "type": "object", "properties": { "imagePullSecrets": { "description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.LocalObjectReference" }, "x-kubernetes-list-type": "atomic" }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "tolerations": { "description": "If specified, the pod's tolerations.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Toleration" }, "x-kubernetes-list-type": "atomic" } } }, "pod.Template": { "description": "Template holds pod specific configuration", "type": "object", "properties": { "affinity": { "description": "If specified, the pod's scheduling constraints", "$ref": "#/definitions/v1.Affinity" }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.", "type": "boolean" }, "dnsConfig": { "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", "$ref": "#/definitions/v1.PodDNSConfig" }, "dnsPolicy": { "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.", "type": "string" }, "enableServiceLinks": { "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", "type": "boolean" }, "env": { "description": "List of environment variables that can be provided to the containers belonging to the pod.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvVar" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "hostAliases": { "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.HostAlias" }, "x-kubernetes-list-type": "atomic" }, "hostNetwork": { "description": "HostNetwork specifies whether the pod may use the node network namespace", "type": "boolean" }, "imagePullSecrets": { "description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.LocalObjectReference" }, "x-kubernetes-list-type": "atomic" }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "priorityClassName": { "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, "runtimeClassName": { "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", "type": "string" }, "schedulerName": { "description": "SchedulerName specifies the scheduler to be used to dispatch the Pod", "type": "string" }, "securityContext": { "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", "$ref": "#/definitions/v1.PodSecurityContext" }, "tolerations": { "description": "If specified, the pod's tolerations.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Toleration" }, "x-kubernetes-list-type": "atomic" }, "topologySpreadConstraints": { "description": "TopologySpreadConstraints controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.TopologySpreadConstraint" }, "x-kubernetes-list-type": "atomic" }, "volumes": { "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Volume" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge,retainKeys" } } }, "v1beta1.Artifact": { "description": "TaskRunStepArtifact represents an artifact produced or used by a step within a task run. It directly uses the Artifact type for its structure.", "type": "object", "properties": { "name": { "type": "string" }, "values": { "description": "The artifact's identifying category name", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ArtifactValue" } } } }, "v1beta1.ArtifactValue": { "description": "ArtifactValue represents a specific value or data element within an Artifact.", "type": "object", "properties": { "digest": { "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "uri": { "description": "Algorithm-specific digests for verifying the content (e.g., SHA256)", "type": "string" } } }, "v1beta1.Artifacts": { "description": "Artifacts represents the collection of input and output artifacts associated with a task run or a similar process. Artifacts in this context are units of data or resources that the process either consumes as input or produces as output.", "type": "object", "properties": { "inputs": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Artifact" } }, "outputs": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Artifact" } } } }, "v1beta1.ChildStatusReference": { "description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.", "type": "object", "properties": { "apiVersion": { "type": "string" }, "displayName": { "description": "DisplayName is a user-facing name of the pipelineTask that may be used to populate a UI.", "type": "string" }, "kind": { "type": "string" }, "name": { "description": "Name is the name of the TaskRun or Run this is referencing.", "type": "string" }, "pipelineTaskName": { "description": "PipelineTaskName is the name of the PipelineTask this is referencing.", "type": "string" }, "whenExpressions": { "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WhenExpression" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.CloudEventDelivery": { "description": "CloudEventDelivery is the target of a cloud event along with the state of delivery.", "type": "object", "properties": { "status": { "default": {}, "$ref": "#/definitions/v1beta1.CloudEventDeliveryState" }, "target": { "description": "Target points to an addressable", "type": "string" } } }, "v1beta1.CloudEventDeliveryState": { "description": "CloudEventDeliveryState reports the state of a cloud event to be sent.", "type": "object", "required": [ "message", "retryCount" ], "properties": { "condition": { "description": "Current status", "type": "string" }, "message": { "description": "Error is the text of error (if any)", "type": "string", "default": "" }, "retryCount": { "description": "RetryCount is the number of attempts of sending the cloud event", "type": "integer", "format": "int32", "default": 0 }, "sentAt": { "description": "SentAt is the time at which the last attempt to send the event was made", "$ref": "#/definitions/v1.Time" } } }, "v1beta1.ClusterTask": { "description": "ClusterTask is a Task with a cluster scope. ClusterTasks are used to represent Tasks that should be publicly addressable from any namespace in the cluster.\n\nDeprecated: Please use the cluster resolver instead.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "description": "Spec holds the desired state of the Task from the client", "default": {}, "$ref": "#/definitions/v1beta1.TaskSpec" } } }, "v1beta1.ClusterTaskList": { "description": "ClusterTaskList contains a list of ClusterTask", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ClusterTask" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.ConfigSource": { "description": "ConfigSource contains the information that can uniquely identify where a remote built definition came from i.e. Git repositories, Tekton Bundles in OCI registry and hub.", "type": "object", "properties": { "digest": { "description": "Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {\"sha1\": \"f99d13e554ffcb696dee719fa85b695cb5b0f428\"}", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "entryPoint": { "description": "EntryPoint identifies the entry point into the build. This is often a path to a build definition file and/or a target label within that file. Example: \"task/git-clone/0.8/git-clone.yaml\"", "type": "string" }, "uri": { "description": "URI indicates the identity of the source of the build definition. Example: \"https://github.com/tektoncd/catalog\"", "type": "string" } } }, "v1beta1.CustomRun": { "description": "CustomRun represents a single execution of a Custom Task.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "default": {}, "$ref": "#/definitions/v1beta1.CustomRunSpec" }, "status": { "default": {}, "$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" } } }, "v1beta1.CustomRunList": { "description": "CustomRunList contains a list of CustomRun", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.CustomRun" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.CustomRunSpec": { "description": "CustomRunSpec defines the desired state of CustomRun", "type": "object", "properties": { "customRef": { "$ref": "#/definitions/v1beta1.TaskRef" }, "customSpec": { "description": "Spec is a specification of a custom task", "$ref": "#/definitions/v1beta1.EmbeddedCustomRunSpec" }, "params": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "retries": { "description": "Used for propagating retries count to custom tasks", "type": "integer", "format": "int32" }, "serviceAccountName": { "type": "string", "default": "" }, "status": { "description": "Used for cancelling a customrun (and maybe more later on)", "type": "string" }, "statusMessage": { "description": "Status message for cancellation.", "type": "string" }, "timeout": { "description": "Time after which the custom-task times out. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", "$ref": "#/definitions/v1.Duration" }, "workspaces": { "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.EmbeddedCustomRunSpec": { "description": "EmbeddedCustomRunSpec allows custom task definitions to be embedded", "type": "object", "properties": { "apiVersion": { "type": "string" }, "kind": { "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTaskMetadata" }, "spec": { "description": "Spec is a specification of a custom task", "default": {}, "$ref": "#/definitions/k8s.io.apimachinery.pkg.runtime.RawExtension" } } }, "v1beta1.EmbeddedTask": { "description": "EmbeddedTask is used to define a Task inline within a Pipeline's PipelineTasks.", "type": "object", "properties": { "apiVersion": { "type": "string" }, "description": { "description": "Description is a user-facing description of the task that may be used to populate a UI.", "type": "string" }, "displayName": { "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", "type": "string" }, "kind": { "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTaskMetadata" }, "params": { "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ParamSpec" }, "x-kubernetes-list-type": "atomic" }, "resources": { "description": "Resources is a list input and output resource to run the task Resources are represented in TaskRuns as bindings to instances of PipelineResources.\n\nDeprecated: Unused, preserved only for backwards compatibility", "$ref": "#/definitions/v1beta1.TaskResources" }, "results": { "description": "Results are values that this Task can output", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResult" }, "x-kubernetes-list-type": "atomic" }, "sidecars": { "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Sidecar" }, "x-kubernetes-list-type": "atomic" }, "spec": { "description": "Spec is a specification of a custom task", "default": {}, "$ref": "#/definitions/k8s.io.apimachinery.pkg.runtime.RawExtension" }, "stepTemplate": { "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", "$ref": "#/definitions/v1beta1.StepTemplate" }, "steps": { "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Step" }, "x-kubernetes-list-type": "atomic" }, "volumes": { "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Volume" }, "x-kubernetes-list-type": "atomic" }, "workspaces": { "description": "Workspaces are the volumes that this Task requires.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceDeclaration" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.IncludeParams": { "description": "IncludeParams allows passing in a specific combinations of Parameters into the Matrix.", "type": "object", "properties": { "name": { "description": "Name the specified combination", "type": "string" }, "params": { "description": "Params takes only `Parameters` of type `\"string\"` The names of the `params` must match the names of the `params` in the underlying `Task`", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.InternalTaskModifier": { "description": "InternalTaskModifier implements TaskModifier for resources that are built-in to Tekton Pipelines.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "required": [ "stepsToPrepend", "stepsToAppend", "volumes" ], "properties": { "stepsToAppend": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Step" }, "x-kubernetes-list-type": "atomic" }, "stepsToPrepend": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Step" }, "x-kubernetes-list-type": "atomic" }, "volumes": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Volume" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.Matrix": { "description": "Matrix is used to fan out Tasks in a Pipeline", "type": "object", "properties": { "include": { "description": "Include is a list of IncludeParams which allows passing in specific combinations of Parameters into the Matrix.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.IncludeParams" }, "x-kubernetes-list-type": "atomic" }, "params": { "description": "Params is a list of parameters used to fan out the pipelineTask Params takes only `Parameters` of type `\"array\"` Each array element is supplied to the `PipelineTask` by substituting `params` of type `\"string\"` in the underlying `Task`. The names of the `params` in the `Matrix` must match the names of the `params` in the underlying `Task` that they will be substituting.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.Param": { "description": "Param declares an ParamValues to use for the parameter called name.", "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string", "default": "" }, "value": { "default": {}, "$ref": "#/definitions/v1beta1.ParamValue" } } }, "v1beta1.ParamSpec": { "description": "ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.", "type": "object", "required": [ "name" ], "properties": { "default": { "description": "Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.", "$ref": "#/definitions/v1beta1.ParamValue" }, "description": { "description": "Description is a user-facing description of the parameter that may be used to populate a UI.", "type": "string" }, "enum": { "description": "Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.", "type": "array", "items": { "type": "string", "default": "" } }, "name": { "description": "Name declares the name by which a parameter is referenced.", "type": "string", "default": "" }, "properties": { "description": "Properties is the JSON Schema properties to support key-value pairs parameter.", "type": "object", "additionalProperties": { "default": {}, "$ref": "#/definitions/v1beta1.PropertySpec" } }, "type": { "description": "Type is the user-specified type of the parameter. The possible types are currently \"string\", \"array\" and \"object\", and \"string\" is the default.", "type": "string" } } }, "v1beta1.ParamValue": { "description": "ResultValue is a type alias of ParamValue", "type": "object", "required": [ "Type", "StringVal", "ArrayVal", "ObjectVal" ], "properties": { "ArrayVal": { "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "ObjectVal": { "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "StringVal": { "description": "Represents the stored type of ParamValues.", "type": "string", "default": "" }, "Type": { "type": "string", "default": "" } } }, "v1beta1.Pipeline": { "description": "Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.\n\nDeprecated: Please use v1.Pipeline instead.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "description": "Spec holds the desired state of the Pipeline from the client", "default": {}, "$ref": "#/definitions/v1beta1.PipelineSpec" } } }, "v1beta1.PipelineDeclaredResource": { "description": "PipelineDeclaredResource is used by a Pipeline to declare the types of the PipelineResources that it will required to run and names which can be used to refer to these PipelineResources in PipelineTaskResourceBindings.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "required": [ "name", "type" ], "properties": { "name": { "description": "Name is the name that will be used by the Pipeline to refer to this resource. It does not directly correspond to the name of any PipelineResources Task inputs or outputs, and it does not correspond to the actual names of the PipelineResources that will be bound in the PipelineRun.", "type": "string", "default": "" }, "optional": { "description": "Optional declares the resource as optional. optional: true - the resource is considered optional optional: false - the resource is considered required (default/equivalent of not specifying it)", "type": "boolean" }, "type": { "description": "Type is the type of the PipelineResource.", "type": "string", "default": "" } } }, "v1beta1.PipelineList": { "description": "PipelineList contains a list of Pipeline", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Pipeline" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.PipelineRef": { "description": "PipelineRef can be used to refer to a specific instance of a Pipeline.", "type": "object", "properties": { "apiVersion": { "description": "API version of the referent", "type": "string" }, "bundle": { "description": "Bundle url reference to a Tekton Bundle.\n\nDeprecated: Please use ResolverRef with the bundles resolver instead.", "type": "string" }, "name": { "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } } }, "v1beta1.PipelineResourceBinding": { "description": "PipelineResourceBinding connects a reference to an instance of a PipelineResource with a PipelineResource dependency that the Pipeline has declared\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "name": { "description": "Name is the name of the PipelineResource in the Pipeline's declaration", "type": "string" }, "resourceRef": { "description": "ResourceRef is a reference to the instance of the actual PipelineResource that should be used", "$ref": "#/definitions/v1beta1.PipelineResourceRef" }, "resourceSpec": { "description": "ResourceSpec is specification of a resource that should be created and consumed by the task", "$ref": "#/definitions/v1alpha1.PipelineResourceSpec" } } }, "v1beta1.PipelineResourceRef": { "description": "PipelineResourceRef can be used to refer to a specific instance of a Resource\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "apiVersion": { "description": "API version of the referent", "type": "string" }, "name": { "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } } }, "v1beta1.PipelineResult": { "description": "PipelineResult used to describe the results of a pipeline", "type": "object", "required": [ "name", "value" ], "properties": { "description": { "description": "Description is a human-readable description of the result", "type": "string", "default": "" }, "name": { "description": "Name the given name", "type": "string", "default": "" }, "type": { "description": "Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.", "type": "string" }, "value": { "description": "Value the expression used to retrieve the value", "default": {}, "$ref": "#/definitions/v1beta1.ParamValue" } } }, "v1beta1.PipelineRun": { "description": "PipelineRun represents a single execution of a Pipeline. PipelineRuns are how the graph of Tasks declared in a Pipeline are executed; they specify inputs to Pipelines such as parameter values and capture operational aspects of the Tasks execution such as service account and tolerations. Creating a PipelineRun creates TaskRuns for Tasks in the referenced Pipeline.\n\nDeprecated: Please use v1.PipelineRun instead.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineRunSpec" }, "status": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineRunStatus" } } }, "v1beta1.PipelineRunList": { "description": "PipelineRunList contains a list of PipelineRun", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineRun" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.PipelineRunResult": { "description": "PipelineRunResult used to describe the results of a pipeline", "type": "object", "required": [ "name", "value" ], "properties": { "name": { "description": "Name is the result's name as declared by the Pipeline", "type": "string", "default": "" }, "value": { "description": "Value is the result returned from the execution of this PipelineRun", "default": {}, "$ref": "#/definitions/v1beta1.ParamValue" } } }, "v1beta1.PipelineRunRunStatus": { "description": "PipelineRunRunStatus contains the name of the PipelineTask for this CustomRun or Run and the CustomRun or Run's Status", "type": "object", "properties": { "pipelineTaskName": { "description": "PipelineTaskName is the name of the PipelineTask.", "type": "string" }, "status": { "description": "Status is the CustomRunStatus for the corresponding CustomRun or Run", "$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" }, "whenExpressions": { "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WhenExpression" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineRunSpec": { "description": "PipelineRunSpec defines the desired state of PipelineRun", "type": "object", "properties": { "params": { "description": "Params is a list of parameter names and values.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "pipelineRef": { "$ref": "#/definitions/v1beta1.PipelineRef" }, "pipelineSpec": { "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", "$ref": "#/definitions/v1beta1.PipelineSpec" }, "podTemplate": { "description": "PodTemplate holds pod specific configuration", "$ref": "#/definitions/pod.Template" }, "resources": { "description": "Resources is a list of bindings specifying which actual instances of PipelineResources to use for the resources the Pipeline has declared it needs.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineResourceBinding" }, "x-kubernetes-list-type": "atomic" }, "serviceAccountName": { "type": "string" }, "status": { "description": "Used for cancelling a pipelinerun (and maybe more later on)", "type": "string" }, "taskRunSpecs": { "description": "TaskRunSpecs holds a set of runtime specs", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTaskRunSpec" }, "x-kubernetes-list-type": "atomic" }, "timeout": { "description": "Timeout is the Time after which the Pipeline times out. Defaults to never. Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration\n\nDeprecated: use pipelineRunSpec.Timeouts.Pipeline instead", "$ref": "#/definitions/v1.Duration" }, "timeouts": { "description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline \u003e= Timeouts.tasks + Timeouts.finally", "$ref": "#/definitions/v1beta1.TimeoutFields" }, "workspaces": { "description": "Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineRunStatus": { "description": "PipelineRunStatus defines the observed state of PipelineRun", "type": "object", "properties": { "annotations": { "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "childReferences": { "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ChildStatusReference" }, "x-kubernetes-list-type": "atomic" }, "completionTime": { "description": "CompletionTime is the time the PipelineRun completed.", "$ref": "#/definitions/v1.Time" }, "conditions": { "description": "Conditions the latest available observations of a resource's current state.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/knative.Condition" }, "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, "finallyStartTime": { "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", "$ref": "#/definitions/v1.Time" }, "observedGeneration": { "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", "type": "integer", "format": "int64" }, "pipelineResults": { "description": "PipelineResults are the list of results written out by the pipeline task's containers", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineRunResult" }, "x-kubernetes-list-type": "atomic" }, "pipelineSpec": { "description": "PipelineRunSpec contains the exact spec used to instantiate the run", "$ref": "#/definitions/v1beta1.PipelineSpec" }, "provenance": { "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", "$ref": "#/definitions/v1beta1.Provenance" }, "runs": { "description": "Runs is a map of PipelineRunRunStatus with the run name as the key\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", "type": "object", "additionalProperties": { "$ref": "#/definitions/v1beta1.PipelineRunRunStatus" } }, "skippedTasks": { "description": "list of tasks that were skipped due to when expressions evaluating to false", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.SkippedTask" }, "x-kubernetes-list-type": "atomic" }, "spanContext": { "description": "SpanContext contains tracing span context fields", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "startTime": { "description": "StartTime is the time the PipelineRun is actually started.", "$ref": "#/definitions/v1.Time" }, "taskRuns": { "description": "TaskRuns is a map of PipelineRunTaskRunStatus with the taskRun name as the key.\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", "type": "object", "additionalProperties": { "$ref": "#/definitions/v1beta1.PipelineRunTaskRunStatus" } } } }, "v1beta1.PipelineRunStatusFields": { "description": "PipelineRunStatusFields holds the fields of PipelineRunStatus' status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", "type": "object", "properties": { "childReferences": { "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ChildStatusReference" }, "x-kubernetes-list-type": "atomic" }, "completionTime": { "description": "CompletionTime is the time the PipelineRun completed.", "$ref": "#/definitions/v1.Time" }, "finallyStartTime": { "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", "$ref": "#/definitions/v1.Time" }, "pipelineResults": { "description": "PipelineResults are the list of results written out by the pipeline task's containers", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineRunResult" }, "x-kubernetes-list-type": "atomic" }, "pipelineSpec": { "description": "PipelineRunSpec contains the exact spec used to instantiate the run", "$ref": "#/definitions/v1beta1.PipelineSpec" }, "provenance": { "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", "$ref": "#/definitions/v1beta1.Provenance" }, "runs": { "description": "Runs is a map of PipelineRunRunStatus with the run name as the key\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", "type": "object", "additionalProperties": { "$ref": "#/definitions/v1beta1.PipelineRunRunStatus" } }, "skippedTasks": { "description": "list of tasks that were skipped due to when expressions evaluating to false", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.SkippedTask" }, "x-kubernetes-list-type": "atomic" }, "spanContext": { "description": "SpanContext contains tracing span context fields", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "startTime": { "description": "StartTime is the time the PipelineRun is actually started.", "$ref": "#/definitions/v1.Time" }, "taskRuns": { "description": "TaskRuns is a map of PipelineRunTaskRunStatus with the taskRun name as the key.\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", "type": "object", "additionalProperties": { "$ref": "#/definitions/v1beta1.PipelineRunTaskRunStatus" } } } }, "v1beta1.PipelineRunTaskRunStatus": { "description": "PipelineRunTaskRunStatus contains the name of the PipelineTask for this TaskRun and the TaskRun's Status", "type": "object", "properties": { "pipelineTaskName": { "description": "PipelineTaskName is the name of the PipelineTask.", "type": "string" }, "status": { "description": "Status is the TaskRunStatus for the corresponding TaskRun", "$ref": "#/definitions/v1beta1.TaskRunStatus" }, "whenExpressions": { "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WhenExpression" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineSpec": { "description": "PipelineSpec defines the desired state of Pipeline.", "type": "object", "properties": { "description": { "description": "Description is a user-facing description of the pipeline that may be used to populate a UI.", "type": "string" }, "displayName": { "description": "DisplayName is a user-facing name of the pipeline that may be used to populate a UI.", "type": "string" }, "finally": { "description": "Finally declares the list of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTask" }, "x-kubernetes-list-type": "atomic" }, "params": { "description": "Params declares a list of input parameters that must be supplied when this Pipeline is run.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ParamSpec" }, "x-kubernetes-list-type": "atomic" }, "resources": { "description": "Deprecated: Unused, preserved only for backwards compatibility", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineDeclaredResource" }, "x-kubernetes-list-type": "atomic" }, "results": { "description": "Results are values that this pipeline can output once run", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineResult" }, "x-kubernetes-list-type": "atomic" }, "tasks": { "description": "Tasks declares the graph of Tasks that execute when this Pipeline is run.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTask" }, "x-kubernetes-list-type": "atomic" }, "workspaces": { "description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineWorkspaceDeclaration" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineTask": { "description": "PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.", "type": "object", "properties": { "description": { "description": "Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.", "type": "string" }, "displayName": { "description": "DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.", "type": "string" }, "matrix": { "description": "Matrix declares parameters used to fan out this task.", "$ref": "#/definitions/v1beta1.Matrix" }, "name": { "description": "Name is the name of this task within the context of a Pipeline. Name is used as a coordinate with the `from` and `runAfter` fields to establish the execution order of tasks relative to one another.", "type": "string" }, "onError": { "description": "OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]", "type": "string" }, "params": { "description": "Parameters declares parameters passed to this task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "pipelineRef": { "description": "PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported", "$ref": "#/definitions/v1beta1.PipelineRef" }, "pipelineSpec": { "description": "PipelineSpec is a specification of a pipeline Note: PipelineSpec is in preview mode and not yet supported Specifying TaskSpec can be disabled by setting `disable-inline-spec` feature flag..", "$ref": "#/definitions/v1beta1.PipelineSpec" }, "resources": { "description": "Deprecated: Unused, preserved only for backwards compatibility", "$ref": "#/definitions/v1beta1.PipelineTaskResources" }, "retries": { "description": "Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False", "type": "integer", "format": "int32" }, "runAfter": { "description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "taskRef": { "description": "TaskRef is a reference to a task definition.", "$ref": "#/definitions/v1beta1.TaskRef" }, "taskSpec": { "description": "TaskSpec is a specification of a task Specifying TaskSpec can be disabled by setting `disable-inline-spec` feature flag..", "$ref": "#/definitions/v1beta1.EmbeddedTask" }, "timeout": { "description": "Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", "$ref": "#/definitions/v1.Duration" }, "when": { "description": "WhenExpressions is a list of when expressions that need to be true for the task to run", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WhenExpression" } }, "workspaces": { "description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspacePipelineTaskBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineTaskInputResource": { "description": "PipelineTaskInputResource maps the name of a declared PipelineResource input dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used. This input may come from a previous task.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "required": [ "name", "resource" ], "properties": { "from": { "description": "From is the list of PipelineTask names that the resource has to come from. (Implies an ordering in the execution graph.)", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "name": { "description": "Name is the name of the PipelineResource as declared by the Task.", "type": "string", "default": "" }, "resource": { "description": "Resource is the name of the DeclaredPipelineResource to use.", "type": "string", "default": "" } } }, "v1beta1.PipelineTaskMetadata": { "description": "PipelineTaskMetadata contains the labels or annotations for an EmbeddedTask", "type": "object", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "labels": { "type": "object", "additionalProperties": { "type": "string", "default": "" } } } }, "v1beta1.PipelineTaskOutputResource": { "description": "PipelineTaskOutputResource maps the name of a declared PipelineResource output dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "required": [ "name", "resource" ], "properties": { "name": { "description": "Name is the name of the PipelineResource as declared by the Task.", "type": "string", "default": "" }, "resource": { "description": "Resource is the name of the DeclaredPipelineResource to use.", "type": "string", "default": "" } } }, "v1beta1.PipelineTaskParam": { "description": "PipelineTaskParam is used to provide arbitrary string parameters to a Task.", "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string", "default": "" }, "value": { "type": "string", "default": "" } } }, "v1beta1.PipelineTaskResources": { "description": "PipelineTaskResources allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Task as its inputs and outputs.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "inputs": { "description": "Inputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTaskInputResource" }, "x-kubernetes-list-type": "atomic" }, "outputs": { "description": "Outputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.PipelineTaskOutputResource" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.PipelineTaskRun": { "description": "PipelineTaskRun reports the results of running a step in the Task. Each task has the potential to succeed or fail (based on the exit code) and produces logs.", "type": "object", "properties": { "name": { "type": "string" } } }, "v1beta1.PipelineTaskRunSpec": { "description": "PipelineTaskRunSpec can be used to configure specific specs for a concrete Task", "type": "object", "properties": { "computeResources": { "description": "Compute resources to use for this TaskRun", "$ref": "#/definitions/v1.ResourceRequirements" }, "metadata": { "$ref": "#/definitions/v1beta1.PipelineTaskMetadata" }, "pipelineTaskName": { "type": "string" }, "sidecarOverrides": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunSidecarOverride" }, "x-kubernetes-list-type": "atomic" }, "stepOverrides": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunStepOverride" }, "x-kubernetes-list-type": "atomic" }, "taskPodTemplate": { "$ref": "#/definitions/pod.Template" }, "taskServiceAccountName": { "type": "string" } } }, "v1beta1.PipelineWorkspaceDeclaration": { "description": "WorkspacePipelineDeclaration creates a named slot in a Pipeline that a PipelineRun is expected to populate with a workspace binding.\n\nDeprecated: use PipelineWorkspaceDeclaration type instead", "type": "object", "required": [ "name" ], "properties": { "description": { "description": "Description is a human readable string describing how the workspace will be used in the Pipeline. It can be useful to include a bit of detail about which tasks are intended to have access to the data on the workspace.", "type": "string" }, "name": { "description": "Name is the name of a workspace to be provided by a PipelineRun.", "type": "string", "default": "" }, "optional": { "description": "Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.", "type": "boolean" } } }, "v1beta1.PropertySpec": { "description": "PropertySpec defines the struct for object keys", "type": "object", "properties": { "type": { "type": "string" } } }, "v1beta1.Provenance": { "description": "Provenance contains metadata about resources used in the TaskRun/PipelineRun such as the source from where a remote build definition was fetched. This field aims to carry minimum amoumt of metadata in *Run status so that Tekton Chains can capture them in the provenance.", "type": "object", "properties": { "configSource": { "description": "Deprecated: Use RefSource instead", "$ref": "#/definitions/v1beta1.ConfigSource" }, "featureFlags": { "description": "FeatureFlags identifies the feature flags that were used during the task/pipeline run", "$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.apis.config.FeatureFlags" }, "refSource": { "description": "RefSource identifies the source where a remote task/pipeline came from.", "$ref": "#/definitions/v1beta1.RefSource" } } }, "v1beta1.Ref": { "description": "Ref can be used to refer to a specific instance of a StepAction.", "type": "object", "properties": { "name": { "description": "Name of the referenced step", "type": "string" } } }, "v1beta1.RefSource": { "description": "RefSource contains the information that can uniquely identify where a remote built definition came from i.e. Git repositories, Tekton Bundles in OCI registry and hub.", "type": "object", "properties": { "digest": { "description": "Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {\"sha1\": \"f99d13e554ffcb696dee719fa85b695cb5b0f428\"}", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "entryPoint": { "description": "EntryPoint identifies the entry point into the build. This is often a path to a build definition file and/or a target label within that file. Example: \"task/git-clone/0.8/git-clone.yaml\"", "type": "string" }, "uri": { "description": "URI indicates the identity of the source of the build definition. Example: \"https://github.com/tektoncd/catalog\"", "type": "string" } } }, "v1beta1.ResolutionRequest": { "description": "ResolutionRequest is an object for requesting the content of a Tekton resource like a pipeline.yaml.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "description": "Spec holds the information for the request part of the resource request.", "default": {}, "$ref": "#/definitions/v1beta1.ResolutionRequestSpec" }, "status": { "description": "Status communicates the state of the request and, ultimately, the content of the resolved resource.", "default": {}, "$ref": "#/definitions/v1beta1.ResolutionRequestStatus" } } }, "v1beta1.ResolutionRequestList": { "description": "ResolutionRequestList is a list of ResolutionRequests.", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ResolutionRequest" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.ResolutionRequestSpec": { "description": "ResolutionRequestSpec are all the fields in the spec of the ResolutionRequest CRD.", "type": "object", "properties": { "params": { "description": "Parameters are the runtime attributes passed to the resolver to help it figure out how to resolve the resource being requested. For example: repo URL, commit SHA, path to file, the kind of authentication to leverage, etc.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Param" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.ResolutionRequestStatus": { "description": "ResolutionRequestStatus are all the fields in a ResolutionRequest's status subresource.", "type": "object", "required": [ "data", "source", "refSource" ], "properties": { "annotations": { "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "conditions": { "description": "Conditions the latest available observations of a resource's current state.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/knative.Condition" }, "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, "data": { "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", "type": "string", "default": "" }, "observedGeneration": { "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", "type": "integer", "format": "int64" }, "refSource": { "description": "RefSource is the source reference of the remote data that records the url, digest and the entrypoint.", "$ref": "#/definitions/v1.RefSource" }, "source": { "description": "Deprecated: Use RefSource instead", "$ref": "#/definitions/v1.RefSource" } } }, "v1beta1.ResolutionRequestStatusFields": { "description": "ResolutionRequestStatusFields are the ResolutionRequest-specific fields for the status subresource.", "type": "object", "required": [ "data", "source", "refSource" ], "properties": { "data": { "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", "type": "string", "default": "" }, "refSource": { "description": "RefSource is the source reference of the remote data that records the url, digest and the entrypoint.", "$ref": "#/definitions/v1.RefSource" }, "source": { "description": "Deprecated: Use RefSource instead", "$ref": "#/definitions/v1.RefSource" } } }, "v1beta1.ResolverRef": { "description": "ResolverRef can be used to refer to a Pipeline or Task in a remote location like a git repo.", "type": "object", "properties": { "params": { "description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "resolver": { "description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as \"git\".", "type": "string" } } }, "v1beta1.ResultRef": { "description": "ResultRef is a type that represents a reference to a task run result", "type": "object", "required": [ "pipelineTask", "result", "resultsIndex", "property" ], "properties": { "pipelineTask": { "type": "string", "default": "" }, "property": { "type": "string", "default": "" }, "result": { "type": "string", "default": "" }, "resultsIndex": { "type": "integer", "format": "int32" } } }, "v1beta1.Sidecar": { "description": "Sidecar has nearly the same data structure as Step but does not have the ability to timeout.", "type": "object", "required": [ "name" ], "properties": { "args": { "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "command": { "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Sidecar's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "env": { "description": "List of environment variables to set in the Sidecar. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvVar" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "envFrom": { "description": "List of sources to populate environment variables in the Sidecar. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the Sidecar is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvFromSource" }, "x-kubernetes-list-type": "atomic" }, "image": { "description": "Image name to be used by the Sidecar. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" }, "imagePullPolicy": { "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", "type": "string" }, "lifecycle": { "description": "Actions that the management system should take in response to Sidecar lifecycle events. Cannot be updated.", "$ref": "#/definitions/v1.Lifecycle" }, "livenessProbe": { "description": "Periodic probe of Sidecar liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "$ref": "#/definitions/v1.Probe" }, "name": { "description": "Name of the Sidecar specified as a DNS_LABEL. Each Sidecar in a Task must have a unique name (DNS_LABEL). Cannot be updated.", "type": "string", "default": "" }, "ports": { "description": "List of ports to expose from the Sidecar. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.ContainerPort" }, "x-kubernetes-list-map-keys": [ "containerPort", "protocol" ], "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, "readinessProbe": { "description": "Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "$ref": "#/definitions/v1.Probe" }, "resources": { "description": "Compute Resources required by this Sidecar. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "default": {}, "$ref": "#/definitions/v1.ResourceRequirements" }, "script": { "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command or Args.", "type": "string" }, "securityContext": { "description": "SecurityContext defines the security options the Sidecar should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", "$ref": "#/definitions/v1.SecurityContext" }, "startupProbe": { "description": "StartupProbe indicates that the Pod the Sidecar is running in has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "$ref": "#/definitions/v1.Probe" }, "stdin": { "description": "Whether this Sidecar should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the Sidecar will always result in EOF. Default is false.", "type": "boolean" }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on Sidecar start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the Sidecar is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", "type": "boolean" }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the Sidecar's termination message will be written is mounted into the Sidecar's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", "type": "string" }, "terminationMessagePolicy": { "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the Sidecar status message on both success and failure. FallbackToLogsOnError will use the last chunk of Sidecar log output if the termination message file is empty and the Sidecar exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", "type": "string" }, "tty": { "description": "Whether this Sidecar should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", "type": "boolean" }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the Sidecar.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeDevice" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "devicePath", "x-kubernetes-patch-strategy": "merge" }, "volumeMounts": { "description": "Volumes to mount into the Sidecar's filesystem. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeMount" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "mountPath", "x-kubernetes-patch-strategy": "merge" }, "workingDir": { "description": "Sidecar's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" }, "workspaces": { "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Sidecar wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceUsage" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.SidecarState": { "description": "SidecarState reports the results of running a sidecar in a Task.", "type": "object", "properties": { "container": { "type": "string" }, "imageID": { "type": "string" }, "name": { "type": "string" }, "running": { "description": "Details about a running container", "$ref": "#/definitions/v1.ContainerStateRunning" }, "terminated": { "description": "Details about a terminated container", "$ref": "#/definitions/v1.ContainerStateTerminated" }, "waiting": { "description": "Details about a waiting container", "$ref": "#/definitions/v1.ContainerStateWaiting" } } }, "v1beta1.SkippedTask": { "description": "SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False. This is a struct because we are looking into including more details about the When Expressions that caused this Task to be skipped.", "type": "object", "required": [ "name", "reason" ], "properties": { "name": { "description": "Name is the Pipeline Task name", "type": "string", "default": "" }, "reason": { "description": "Reason is the cause of the PipelineTask being skipped.", "type": "string", "default": "" }, "whenExpressions": { "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WhenExpression" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.Step": { "description": "Step runs a subcomponent of a Task", "type": "object", "required": [ "name" ], "properties": { "args": { "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "command": { "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "env": { "description": "List of environment variables to set in the container. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvVar" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "envFrom": { "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvFromSource" }, "x-kubernetes-list-type": "atomic" }, "image": { "description": "Image reference name to run for this Step. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" }, "imagePullPolicy": { "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", "type": "string" }, "lifecycle": { "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Lifecycle" }, "livenessProbe": { "description": "Periodic probe of container liveness. Step will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "name": { "description": "Name of the Step specified as a DNS_LABEL. Each Step in a Task must have a unique name.", "type": "string", "default": "" }, "onError": { "description": "OnError defines the exiting behavior of a container on error can be set to [ continue | stopAndFail ]", "type": "string" }, "params": { "description": "Params declares parameters passed to this step action.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "ports": { "description": "List of ports to expose from the Step's container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.ContainerPort" }, "x-kubernetes-list-map-keys": [ "containerPort", "protocol" ], "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, "readinessProbe": { "description": "Periodic probe of container service readiness. Step will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "ref": { "description": "Contains the reference to an existing StepAction.", "$ref": "#/definitions/v1beta1.Ref" }, "resources": { "description": "Compute Resources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "default": {}, "$ref": "#/definitions/v1.ResourceRequirements" }, "results": { "description": "Results declares StepResults produced by the Step.\n\nThis is field is at an ALPHA stability level and gated by \"enable-step-actions\" feature flag.\n\nIt can be used in an inlined Step when used to store Results to $(step.results.resultName.path). It cannot be used when referencing StepActions using [v1beta1.Step.Ref]. The Results declared by the StepActions will be stored here instead.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.StepResult" }, "x-kubernetes-list-type": "atomic" }, "script": { "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.", "type": "string" }, "securityContext": { "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", "$ref": "#/definitions/v1.SecurityContext" }, "startupProbe": { "description": "DeprecatedStartupProbe indicates that the Pod this Step runs in has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "stderrConfig": { "description": "Stores configuration for the stderr stream of the step.", "$ref": "#/definitions/v1beta1.StepOutputConfig" }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "stdoutConfig": { "description": "Stores configuration for the stdout stream of the step.", "$ref": "#/definitions/v1beta1.StepOutputConfig" }, "terminationMessagePath": { "description": "Deprecated: This field will be removed in a future release and can't be meaningfully used.", "type": "string" }, "terminationMessagePolicy": { "description": "Deprecated: This field will be removed in a future release and can't be meaningfully used.", "type": "string" }, "timeout": { "description": "Timeout is the time after which the step times out. Defaults to never. Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", "$ref": "#/definitions/v1.Duration" }, "tty": { "description": "Whether this container should allocate a DeprecatedTTY for itself, also requires 'stdin' to be true. Default is false.\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the Step.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeDevice" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "devicePath", "x-kubernetes-patch-strategy": "merge" }, "volumeMounts": { "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeMount" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "mountPath", "x-kubernetes-patch-strategy": "merge" }, "workingDir": { "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" }, "workspaces": { "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Step wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceUsage" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.StepOutputConfig": { "description": "StepOutputConfig stores configuration for a step output stream.", "type": "object", "properties": { "path": { "description": "Path to duplicate stdout stream to on container's local filesystem.", "type": "string" } } }, "v1beta1.StepState": { "description": "StepState reports the results of running a step in a Task.", "type": "object", "properties": { "container": { "type": "string" }, "imageID": { "type": "string" }, "inputs": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Artifact" } }, "name": { "type": "string" }, "outputs": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Artifact" } }, "results": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunResult" } }, "running": { "description": "Details about a running container", "$ref": "#/definitions/v1.ContainerStateRunning" }, "terminated": { "description": "Details about a terminated container", "$ref": "#/definitions/v1.ContainerStateTerminated" }, "waiting": { "description": "Details about a waiting container", "$ref": "#/definitions/v1.ContainerStateWaiting" } } }, "v1beta1.StepTemplate": { "description": "StepTemplate is a template for a Step", "type": "object", "required": [ "name" ], "properties": { "args": { "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "command": { "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "env": { "description": "List of environment variables to set in the container. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvVar" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "envFrom": { "description": "List of sources to populate environment variables in the Step. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.EnvFromSource" }, "x-kubernetes-list-type": "atomic" }, "image": { "description": "Default image name to use for each Step. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", "type": "string" }, "imagePullPolicy": { "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", "type": "string" }, "lifecycle": { "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Lifecycle" }, "livenessProbe": { "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "name": { "description": "Default name for each Step specified as a DNS_LABEL. Each Step in a Task must have a unique name. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", "type": "string", "default": "" }, "ports": { "description": "List of ports to expose from the Step's container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.ContainerPort" }, "x-kubernetes-list-map-keys": [ "containerPort", "protocol" ], "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, "readinessProbe": { "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "resources": { "description": "Compute Resources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "default": {}, "$ref": "#/definitions/v1.ResourceRequirements" }, "securityContext": { "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", "$ref": "#/definitions/v1.SecurityContext" }, "startupProbe": { "description": "DeprecatedStartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", "$ref": "#/definitions/v1.Probe" }, "stdin": { "description": "Whether this Step should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the Step will always result in EOF. Default is false.\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "terminationMessagePath": { "description": "Deprecated: This field will be removed in a future release and cannot be meaningfully used.", "type": "string" }, "terminationMessagePolicy": { "description": "Deprecated: This field will be removed in a future release and cannot be meaningfully used.", "type": "string" }, "tty": { "description": "Whether this Step should allocate a DeprecatedTTY for itself, also requires 'stdin' to be true. Default is false.\n\nDeprecated: This field will be removed in a future release.", "type": "boolean" }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the Step.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeDevice" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "devicePath", "x-kubernetes-patch-strategy": "merge" }, "volumeMounts": { "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.VolumeMount" }, "x-kubernetes-list-type": "atomic", "x-kubernetes-patch-merge-key": "mountPath", "x-kubernetes-patch-strategy": "merge" }, "workingDir": { "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" } } }, "v1beta1.Task": { "description": "Task represents a collection of sequential steps that are run as part of a Pipeline using a set of inputs and producing a set of outputs. Tasks execute when TaskRuns are created that provide the input parameters and resources and output resources the Task requires.\n\nDeprecated: Please use v1.Task instead.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "description": "Spec holds the desired state of the Task from the client", "default": {}, "$ref": "#/definitions/v1beta1.TaskSpec" } } }, "v1beta1.TaskBreakpoints": { "description": "TaskBreakpoints defines the breakpoint config for a particular Task", "type": "object", "properties": { "onFailure": { "description": "if enabled, pause TaskRun on failure of a step failed step will not exit", "type": "string" } } }, "v1beta1.TaskList": { "description": "TaskList contains a list of Task", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Task" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.TaskRef": { "description": "TaskRef can be used to refer to a specific instance of a task.", "type": "object", "properties": { "apiVersion": { "description": "API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task", "type": "string" }, "bundle": { "description": "Bundle url reference to a Tekton Bundle.\n\nDeprecated: Please use ResolverRef with the bundles resolver instead.", "type": "string" }, "kind": { "description": "TaskKind indicates the Kind of the Task: 1. Namespaced Task when Kind is set to \"Task\". If Kind is \"\", it defaults to \"Task\". 2. Cluster-Scoped Task when Kind is set to \"ClusterTask\" 3. Custom Task when Kind is non-empty and APIVersion is non-empty", "type": "string" }, "name": { "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } } }, "v1beta1.TaskResource": { "description": "TaskResource defines an input or output Resource declared as a requirement by a Task. The Name field will be used to refer to these Resources within the Task definition, and when provided as an Input, the Name will be the path to the volume mounted containing this Resource as an input (e.g. an input Resource named `workspace` will be mounted at `/workspace`).\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "required": [ "name", "type" ], "properties": { "description": { "description": "Description is a user-facing description of the declared resource that may be used to populate a UI.", "type": "string" }, "name": { "description": "Name declares the name by which a resource is referenced in the definition. Resources may be referenced by name in the definition of a Task's steps.", "type": "string", "default": "" }, "optional": { "description": "Optional declares the resource as optional. By default optional is set to false which makes a resource required. optional: true - the resource is considered optional optional: false - the resource is considered required (equivalent of not specifying it)", "type": "boolean" }, "targetPath": { "description": "TargetPath is the path in workspace directory where the resource will be copied.", "type": "string" }, "type": { "description": "Type is the type of this resource;", "type": "string", "default": "" } } }, "v1beta1.TaskResourceBinding": { "description": "TaskResourceBinding points to the PipelineResource that will be used for the Task input or output called Name.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "name": { "description": "Name is the name of the PipelineResource in the Pipeline's declaration", "type": "string" }, "paths": { "description": "Paths will probably be removed in #1284, and then PipelineResourceBinding can be used instead. The optional Path field corresponds to a path on disk at which the Resource can be found (used when providing the resource via mounted volume, overriding the default logic to fetch the Resource).", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" }, "resourceRef": { "description": "ResourceRef is a reference to the instance of the actual PipelineResource that should be used", "$ref": "#/definitions/v1beta1.PipelineResourceRef" }, "resourceSpec": { "description": "ResourceSpec is specification of a resource that should be created and consumed by the task", "$ref": "#/definitions/v1alpha1.PipelineResourceSpec" } } }, "v1beta1.TaskResources": { "description": "TaskResources allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Task as its inputs and outputs.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "inputs": { "description": "Inputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResource" }, "x-kubernetes-list-type": "atomic" }, "outputs": { "description": "Outputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResource" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TaskResult": { "description": "TaskResult used to describe the results of a task", "type": "object", "required": [ "name" ], "properties": { "description": { "description": "Description is a human-readable description of the result", "type": "string" }, "name": { "description": "Name the given name", "type": "string", "default": "" }, "properties": { "description": "Properties is the JSON Schema properties to support key-value pairs results.", "type": "object", "additionalProperties": { "default": {}, "$ref": "#/definitions/v1beta1.PropertySpec" } }, "type": { "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", "type": "string" }, "value": { "description": "Value the expression used to retrieve the value of the result from an underlying Step.", "$ref": "#/definitions/v1beta1.ParamValue" } } }, "v1beta1.TaskRun": { "description": "TaskRun represents a single execution of a Task. TaskRuns are how the steps specified in a Task are executed; they specify the parameters and resources used to run the steps in a Task.\n\nDeprecated: Please use v1.TaskRun instead.", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunSpec" }, "status": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunStatus" } } }, "v1beta1.TaskRunDebug": { "description": "TaskRunDebug defines the breakpoint config for a particular TaskRun", "type": "object", "properties": { "breakpoints": { "$ref": "#/definitions/v1beta1.TaskBreakpoints" } } }, "v1beta1.TaskRunInputs": { "description": "TaskRunInputs holds the input values that this task was invoked with.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "params": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "resources": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResourceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TaskRunList": { "description": "TaskRunList contains a list of TaskRun", "type": "object", "required": [ "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRun" } }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "default": {}, "$ref": "#/definitions/v1.ListMeta" } } }, "v1beta1.TaskRunOutputs": { "description": "TaskRunOutputs holds the output values that this task was invoked with.\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "resources": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResourceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TaskRunResources": { "description": "TaskRunResources allows a TaskRun to declare inputs and outputs TaskResourceBinding\n\nDeprecated: Unused, preserved only for backwards compatibility", "type": "object", "properties": { "inputs": { "description": "Inputs holds the inputs resources this task was invoked with", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResourceBinding" }, "x-kubernetes-list-type": "atomic" }, "outputs": { "description": "Outputs holds the inputs resources this task was invoked with", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResourceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TaskRunResult": { "description": "TaskRunStepResult is a type alias of TaskRunResult", "type": "object", "required": [ "name", "value" ], "properties": { "name": { "description": "Name the given name", "type": "string", "default": "" }, "type": { "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", "type": "string" }, "value": { "description": "Value the given value of the result", "default": {}, "$ref": "#/definitions/v1beta1.ParamValue" } } }, "v1beta1.TaskRunSidecarOverride": { "description": "TaskRunSidecarOverride is used to override the values of a Sidecar in the corresponding Task.", "type": "object", "required": [ "name", "resources" ], "properties": { "name": { "description": "The name of the Sidecar to override.", "type": "string", "default": "" }, "resources": { "description": "The resource requirements to apply to the Sidecar.", "default": {}, "$ref": "#/definitions/v1.ResourceRequirements" } } }, "v1beta1.TaskRunSpec": { "description": "TaskRunSpec defines the desired state of TaskRun", "type": "object", "properties": { "computeResources": { "description": "Compute resources to use for this TaskRun", "$ref": "#/definitions/v1.ResourceRequirements" }, "debug": { "$ref": "#/definitions/v1beta1.TaskRunDebug" }, "params": { "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Param" }, "x-kubernetes-list-type": "atomic" }, "podTemplate": { "description": "PodTemplate holds pod specific configuration", "$ref": "#/definitions/pod.Template" }, "resources": { "description": "Deprecated: Unused, preserved only for backwards compatibility", "$ref": "#/definitions/v1beta1.TaskRunResources" }, "retries": { "description": "Retries represents how many times this TaskRun should be retried in the event of Task failure.", "type": "integer", "format": "int32" }, "serviceAccountName": { "type": "string", "default": "" }, "sidecarOverrides": { "description": "Overrides to apply to Sidecars in this TaskRun. If a field is specified in both a Sidecar and a SidecarOverride, the value from the SidecarOverride will be used. This field is only supported when the alpha feature gate is enabled.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunSidecarOverride" }, "x-kubernetes-list-type": "atomic" }, "status": { "description": "Used for cancelling a TaskRun (and maybe more later on)", "type": "string" }, "statusMessage": { "description": "Status message for cancellation.", "type": "string" }, "stepOverrides": { "description": "Overrides to apply to Steps in this TaskRun. If a field is specified in both a Step and a StepOverride, the value from the StepOverride will be used. This field is only supported when the alpha feature gate is enabled.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunStepOverride" }, "x-kubernetes-list-type": "atomic" }, "taskRef": { "description": "no more than one of the TaskRef and TaskSpec may be specified.", "$ref": "#/definitions/v1beta1.TaskRef" }, "taskSpec": { "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", "$ref": "#/definitions/v1beta1.TaskSpec" }, "timeout": { "description": "Time after which one retry attempt times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", "$ref": "#/definitions/v1.Duration" }, "workspaces": { "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceBinding" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TaskRunStatus": { "description": "TaskRunStatus defines the observed state of TaskRun", "type": "object", "required": [ "podName" ], "properties": { "annotations": { "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "cloudEvents": { "description": "CloudEvents describe the state of each cloud event requested via a CloudEventResource.\n\nDeprecated: Removed in v0.44.0.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.CloudEventDelivery" }, "x-kubernetes-list-type": "atomic" }, "completionTime": { "description": "CompletionTime is the time the build completed.", "$ref": "#/definitions/v1.Time" }, "conditions": { "description": "Conditions the latest available observations of a resource's current state.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/knative.Condition" }, "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", "type": "integer", "format": "int64" }, "podName": { "description": "PodName is the name of the pod responsible for executing this task's steps.", "type": "string", "default": "" }, "provenance": { "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", "$ref": "#/definitions/v1beta1.Provenance" }, "resourcesResult": { "description": "Results from Resources built during the TaskRun. This is tomb-stoned along with the removal of pipelineResources Deprecated: this field is not populated and is preserved only for backwards compatibility", "type": "array", "items": { "default": {}, "$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.result.RunResult" }, "x-kubernetes-list-type": "atomic" }, "retriesStatus": { "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunStatus" }, "x-kubernetes-list-type": "atomic" }, "sidecars": { "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.SidecarState" }, "x-kubernetes-list-type": "atomic" }, "spanContext": { "description": "SpanContext contains tracing span context fields", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "startTime": { "description": "StartTime is the time the build is actually started.", "$ref": "#/definitions/v1.Time" }, "steps": { "description": "Steps describes the state of each build step container.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.StepState" }, "x-kubernetes-list-type": "atomic" }, "taskResults": { "description": "TaskRunResults are the list of results written out by the task's containers", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunResult" }, "x-kubernetes-list-type": "atomic" }, "taskSpec": { "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", "$ref": "#/definitions/v1beta1.TaskSpec" } } }, "v1beta1.TaskRunStatusFields": { "description": "TaskRunStatusFields holds the fields of TaskRun's status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", "type": "object", "required": [ "podName" ], "properties": { "cloudEvents": { "description": "CloudEvents describe the state of each cloud event requested via a CloudEventResource.\n\nDeprecated: Removed in v0.44.0.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.CloudEventDelivery" }, "x-kubernetes-list-type": "atomic" }, "completionTime": { "description": "CompletionTime is the time the build completed.", "$ref": "#/definitions/v1.Time" }, "podName": { "description": "PodName is the name of the pod responsible for executing this task's steps.", "type": "string", "default": "" }, "provenance": { "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", "$ref": "#/definitions/v1beta1.Provenance" }, "resourcesResult": { "description": "Results from Resources built during the TaskRun. This is tomb-stoned along with the removal of pipelineResources Deprecated: this field is not populated and is preserved only for backwards compatibility", "type": "array", "items": { "default": {}, "$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.result.RunResult" }, "x-kubernetes-list-type": "atomic" }, "retriesStatus": { "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunStatus" }, "x-kubernetes-list-type": "atomic" }, "sidecars": { "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.SidecarState" }, "x-kubernetes-list-type": "atomic" }, "spanContext": { "description": "SpanContext contains tracing span context fields", "type": "object", "additionalProperties": { "type": "string", "default": "" } }, "startTime": { "description": "StartTime is the time the build is actually started.", "$ref": "#/definitions/v1.Time" }, "steps": { "description": "Steps describes the state of each build step container.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.StepState" }, "x-kubernetes-list-type": "atomic" }, "taskResults": { "description": "TaskRunResults are the list of results written out by the task's containers", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskRunResult" }, "x-kubernetes-list-type": "atomic" }, "taskSpec": { "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", "$ref": "#/definitions/v1beta1.TaskSpec" } } }, "v1beta1.TaskRunStepOverride": { "description": "TaskRunStepOverride is used to override the values of a Step in the corresponding Task.", "type": "object", "required": [ "name", "resources" ], "properties": { "name": { "description": "The name of the Step to override.", "type": "string", "default": "" }, "resources": { "description": "The resource requirements to apply to the Step.", "default": {}, "$ref": "#/definitions/v1.ResourceRequirements" } } }, "v1beta1.TaskSpec": { "description": "TaskSpec defines the desired state of Task.", "type": "object", "properties": { "description": { "description": "Description is a user-facing description of the task that may be used to populate a UI.", "type": "string" }, "displayName": { "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", "type": "string" }, "params": { "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.ParamSpec" }, "x-kubernetes-list-type": "atomic" }, "resources": { "description": "Resources is a list input and output resource to run the task Resources are represented in TaskRuns as bindings to instances of PipelineResources.\n\nDeprecated: Unused, preserved only for backwards compatibility", "$ref": "#/definitions/v1beta1.TaskResources" }, "results": { "description": "Results are values that this Task can output", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.TaskResult" }, "x-kubernetes-list-type": "atomic" }, "sidecars": { "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Sidecar" }, "x-kubernetes-list-type": "atomic" }, "stepTemplate": { "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", "$ref": "#/definitions/v1beta1.StepTemplate" }, "steps": { "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.Step" }, "x-kubernetes-list-type": "atomic" }, "volumes": { "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1.Volume" }, "x-kubernetes-list-type": "atomic" }, "workspaces": { "description": "Workspaces are the volumes that this Task requires.", "type": "array", "items": { "default": {}, "$ref": "#/definitions/v1beta1.WorkspaceDeclaration" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.TimeoutFields": { "description": "TimeoutFields allows granular specification of pipeline, task, and finally timeouts", "type": "object", "properties": { "finally": { "description": "Finally sets the maximum allowed duration of this pipeline's finally", "$ref": "#/definitions/v1.Duration" }, "pipeline": { "description": "Pipeline sets the maximum allowed duration for execution of the entire pipeline. The sum of individual timeouts for tasks and finally must not exceed this value.", "$ref": "#/definitions/v1.Duration" }, "tasks": { "description": "Tasks sets the maximum allowed duration of this pipeline's tasks", "$ref": "#/definitions/v1.Duration" } } }, "v1beta1.WhenExpression": { "description": "WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped", "type": "object", "properties": { "cel": { "description": "CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md", "type": "string" }, "input": { "description": "Input is the string for guard checking which can be a static input or an output from a parent Task", "type": "string" }, "operator": { "description": "Operator that represents an Input's relationship to the values", "type": "string" }, "values": { "description": "Values is an array of strings, which is compared against the input, for guard checking It must be non-empty", "type": "array", "items": { "type": "string", "default": "" }, "x-kubernetes-list-type": "atomic" } } }, "v1beta1.WorkspaceBinding": { "description": "WorkspaceBinding maps a Task's declared workspace to a Volume.", "type": "object", "required": [ "name" ], "properties": { "configMap": { "description": "ConfigMap represents a configMap that should populate this workspace.", "$ref": "#/definitions/v1.ConfigMapVolumeSource" }, "csi": { "description": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", "$ref": "#/definitions/v1.CSIVolumeSource" }, "emptyDir": { "description": "EmptyDir represents a temporary directory that shares a Task's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir Either this OR PersistentVolumeClaim can be used.", "$ref": "#/definitions/v1.EmptyDirVolumeSource" }, "name": { "description": "Name is the name of the workspace populated by the volume.", "type": "string", "default": "" }, "persistentVolumeClaim": { "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Either this OR EmptyDir can be used.", "$ref": "#/definitions/v1.PersistentVolumeClaimVolumeSource" }, "projected": { "description": "Projected represents a projected volume that should populate this workspace.", "$ref": "#/definitions/v1.ProjectedVolumeSource" }, "secret": { "description": "Secret represents a secret that should populate this workspace.", "$ref": "#/definitions/v1.SecretVolumeSource" }, "subPath": { "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", "type": "string" }, "volumeClaimTemplate": { "description": "VolumeClaimTemplate is a template for a claim that will be created in the same namespace. The PipelineRun controller is responsible for creating a unique claim for each instance of PipelineRun.", "$ref": "#/definitions/v1.PersistentVolumeClaim" } } }, "v1beta1.WorkspaceDeclaration": { "description": "WorkspaceDeclaration is a declaration of a volume that a Task requires.", "type": "object", "required": [ "name" ], "properties": { "description": { "description": "Description is an optional human readable description of this volume.", "type": "string" }, "mountPath": { "description": "MountPath overrides the directory that the volume will be made available at.", "type": "string" }, "name": { "description": "Name is the name by which you can bind the volume at runtime.", "type": "string", "default": "" }, "optional": { "description": "Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.", "type": "boolean" }, "readOnly": { "description": "ReadOnly dictates whether a mounted volume is writable. By default this field is false and so mounted volumes are writable.", "type": "boolean" } } }, "v1beta1.WorkspacePipelineTaskBinding": { "description": "WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.", "type": "object", "required": [ "name" ], "properties": { "name": { "description": "Name is the name of the workspace as declared by the task", "type": "string", "default": "" }, "subPath": { "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", "type": "string" }, "workspace": { "description": "Workspace is the name of the workspace declared by the pipeline", "type": "string" } } }, "v1beta1.WorkspaceUsage": { "description": "WorkspaceUsage is used by a Step or Sidecar to declare that it wants isolated access to a Workspace defined in a Task.", "type": "object", "required": [ "name", "mountPath" ], "properties": { "mountPath": { "description": "MountPath is the path that the workspace should be mounted to inside the Step or Sidecar, overriding any MountPath specified in the Task's WorkspaceDeclaration.", "type": "string", "default": "" }, "name": { "description": "Name is the name of the workspace this Step or Sidecar wants access to.", "type": "string", "default": "" } } } } }