tekton.dev / v1 / PipelineRun
- string
.apiVersion
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
- string
.kind
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
- object
.metadata
- object
.spec
PipelineRunSpec defines the desired state of PipelineRun
- array
.spec .params
Params is a list of parameter names and values.
- string required
.spec .params[] .name
- undefined required
.spec .params[] .value
- object
.spec .pipelineRef
PipelineRef can be used to refer to a specific instance of a Pipeline.
- string
.spec .pipelineRef .apiVersion
API version of the referent
- string
.spec .pipelineRef .name
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
- array
.spec .pipelineRef .params
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.
- string required
.spec .pipelineRef .params[] .name
- undefined required
.spec .pipelineRef .params[] .value
- string
.spec .pipelineRef .resolver
Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as “git”.
- undefined
.spec .pipelineSpec
Specifying PipelineSpec can be disabled by setting
disable-inline-spec
feature flag. See Pipeline.spec (API version: tekton.dev/v1) - string
.spec .status
Used for cancelling a pipelinerun (and maybe more later on)
- array
.spec .taskRunSpecs
TaskRunSpecs holds a set of runtime specs
- object
.spec .taskRunSpecs[] .computeResources
Compute resources to use for this TaskRun
- array
.spec .taskRunSpecs[] .computeResources .claims
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- string required
.spec .taskRunSpecs[] .computeResources .claims[] .name
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
- string
.spec .taskRunSpecs[] .computeResources .claims[] .request
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
- object
.spec .taskRunSpecs[] .computeResources .limits
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .taskRunSpecs[] .computeResources .requests
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .taskRunSpecs[] .metadata
PipelineTaskMetadata contains the labels or annotations for an EmbeddedTask
- object
.spec .taskRunSpecs[] .metadata .annotations
- object
.spec .taskRunSpecs[] .metadata .labels
- string
.spec .taskRunSpecs[] .pipelineTaskName
- object
.spec .taskRunSpecs[] .podTemplate
PodTemplate holds pod specific configuration
- undefined
.spec .taskRunSpecs[] .podTemplate .affinity
If specified, the pod’s scheduling constraints. See Pod.spec.affinity (API version: v1)
- boolean
.spec .taskRunSpecs[] .podTemplate .automountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
- object
.spec .taskRunSpecs[] .podTemplate .dnsConfig
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- array
.spec .taskRunSpecs[] .podTemplate .dnsConfig .nameservers
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- array
.spec .taskRunSpecs[] .podTemplate .dnsConfig .options
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- string
.spec .taskRunSpecs[] .podTemplate .dnsConfig .options[] .name
Name is this DNS resolver option’s name. Required.
- string
.spec .taskRunSpecs[] .podTemplate .dnsConfig .options[] .value
Value is this DNS resolver option’s value.
- array
.spec .taskRunSpecs[] .podTemplate .dnsConfig .searches
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- string
.spec .taskRunSpecs[] .podTemplate .dnsPolicy
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.
- boolean
.spec .taskRunSpecs[] .podTemplate .enableServiceLinks
EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- array
.spec .taskRunSpecs[] .podTemplate .env
List of environment variables that can be provided to the containers belonging to the pod.
- string required
.spec .taskRunSpecs[] .podTemplate .env[] .name
Name of the environment variable. Must be a C_IDENTIFIER.
- string
.spec .taskRunSpecs[] .podTemplate .env[] .value
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. 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. Defaults to “”.
- object
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom
Source for the environment variable’s value. Cannot be used if value is not empty.
- object
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .configMapKeyRef
Selects a key of a ConfigMap.
- string required
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .configMapKeyRef .key
The key to select.
- string
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .configMapKeyRef .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .configMapKeyRef .optional
Specify whether the ConfigMap or its key must be defined
- object
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .fieldRef
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels['<KEY>']
,metadata.annotations['<KEY>']
, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. - string
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .fieldRef .apiVersion
Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- string required
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .fieldRef .fieldPath
Path of the field to select in the specified API version.
- object
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .resourceFieldRef
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- string
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .resourceFieldRef .containerName
Container name: required for volumes, optional for env vars
- integer | string
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .resourceFieldRef .divisor
Specifies the output format of the exposed resources, defaults to “1”
- string required
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .resourceFieldRef .resource
Required: resource to select
- object
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .secretKeyRef
Selects a key of a secret in the pod’s namespace
- string required
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .secretKeyRef .key
The key of the secret to select from. Must be a valid secret key.
- string
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .secretKeyRef .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .taskRunSpecs[] .podTemplate .env[] .valueFrom .secretKeyRef .optional
Specify whether the Secret or its key must be defined
- array
.spec .taskRunSpecs[] .podTemplate .hostAliases
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.
- array
.spec .taskRunSpecs[] .podTemplate .hostAliases[] .hostnames
Hostnames for the above IP address.
- string required
.spec .taskRunSpecs[] .podTemplate .hostAliases[] .ip
IP address of the host file entry.
- boolean
.spec .taskRunSpecs[] .podTemplate .hostNetwork
HostNetwork specifies whether the pod may use the node network namespace
- array
.spec .taskRunSpecs[] .podTemplate .imagePullSecrets
ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified
- string
.spec .taskRunSpecs[] .podTemplate .imagePullSecrets[] .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- object
.spec .taskRunSpecs[] .podTemplate .nodeSelector
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/
- string
.spec .taskRunSpecs[] .podTemplate .priorityClassName
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.
- string
.spec .taskRunSpecs[] .podTemplate .runtimeClassName
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.
- string
.spec .taskRunSpecs[] .podTemplate .schedulerName
SchedulerName specifies the scheduler to be used to dispatch the Pod
- undefined
.spec .taskRunSpecs[] .podTemplate .securityContext
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. See Pod.spec.securityContext (API version: v1)
- array
.spec .taskRunSpecs[] .podTemplate .tolerations
If specified, the pod’s tolerations.
- string
.spec .taskRunSpecs[] .podTemplate .tolerations[] .effect
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- string
.spec .taskRunSpecs[] .podTemplate .tolerations[] .key
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- string
.spec .taskRunSpecs[] .podTemplate .tolerations[] .operator
Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- integer
.spec .taskRunSpecs[] .podTemplate .tolerations[] .tolerationSeconds
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- string
.spec .taskRunSpecs[] .podTemplate .tolerations[] .value
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- array
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints
TopologySpreadConstraints controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.
- object
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector
LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- array
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed.
- string required
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .key
key is the label key that the selector applies to.
- string required
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .operator
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- array
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- object
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .labelSelector .matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- array
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .matchLabelKeys
MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn’t set. Keys that don’t exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.
This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
- integer required
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .maxSkew
MaxSkew describes the degree to which pods may be unevenly distributed. When
whenUnsatisfiable=DoNotSchedule
, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P |- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1).
- if MaxSkew is 2, incoming pod can be scheduled onto any zone.
When
whenUnsatisfiable=ScheduleAnyway
, it is used to give higher precedence to topologies that satisfy it. It’s a required field. Default value is 1 and 0 is not allowed.
- integer
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .minDomains
MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats “global minimum” as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won’t schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so “global minimum” is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.
- string
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .nodeAffinityPolicy
NodeAffinityPolicy indicates how we will treat Pod’s nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are:
- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
- string
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .nodeTaintsPolicy
NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are:
- Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included.
If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
- string required
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .topologyKey
TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is “kubernetes.io/hostname”, each Node is a domain of that topology. And, if TopologyKey is “topology.kubernetes.io/zone”, each zone is a domain of that topology. It’s a required field. - string required
.spec .taskRunSpecs[] .podTemplate .topologySpreadConstraints[] .whenUnsatisfiable
WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint.
- DoNotSchedule (default) tells the scheduler not to schedule it.
- ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered “Unsatisfiable” for an incoming pod if and only if every possible node assignment for that pod would violate “MaxSkew” on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- undefined
.spec .taskRunSpecs[] .podTemplate .volumes
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes See Pod.spec.volumes (API version: v1)
- string
.spec .taskRunSpecs[] .serviceAccountName
- array
.spec .taskRunSpecs[] .sidecarSpecs
- object required
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources
The resource requirements to apply to the Sidecar.
- array
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources .claims
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- string required
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources .claims[] .name
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
- string
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources .claims[] .request
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
- object
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources .limits
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .taskRunSpecs[] .sidecarSpecs[] .computeResources .requests
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- string required
.spec .taskRunSpecs[] .sidecarSpecs[] .name
The name of the Sidecar to override.
- array
.spec .taskRunSpecs[] .stepSpecs
- object required
.spec .taskRunSpecs[] .stepSpecs[] .computeResources
The resource requirements to apply to the Step.
- array
.spec .taskRunSpecs[] .stepSpecs[] .computeResources .claims
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- string required
.spec .taskRunSpecs[] .stepSpecs[] .computeResources .claims[] .name
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
- string
.spec .taskRunSpecs[] .stepSpecs[] .computeResources .claims[] .request
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
- object
.spec .taskRunSpecs[] .stepSpecs[] .computeResources .limits
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .taskRunSpecs[] .stepSpecs[] .computeResources .requests
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- string required
.spec .taskRunSpecs[] .stepSpecs[] .name
The name of the Step to override.
- object
.spec .taskRunTemplate
TaskRunTemplate represent template of taskrun
- object
.spec .taskRunTemplate .podTemplate
PodTemplate holds pod specific configuration
- undefined
.spec .taskRunTemplate .podTemplate .affinity
If specified, the pod’s scheduling constraints. See Pod.spec.affinity (API version: v1)
- boolean
.spec .taskRunTemplate .podTemplate .automountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
- object
.spec .taskRunTemplate .podTemplate .dnsConfig
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- array
.spec .taskRunTemplate .podTemplate .dnsConfig .nameservers
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- array
.spec .taskRunTemplate .podTemplate .dnsConfig .options
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- string
.spec .taskRunTemplate .podTemplate .dnsConfig .options[] .name
Name is this DNS resolver option’s name. Required.
- string
.spec .taskRunTemplate .podTemplate .dnsConfig .options[] .value
Value is this DNS resolver option’s value.
- array
.spec .taskRunTemplate .podTemplate .dnsConfig .searches
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- string
.spec .taskRunTemplate .podTemplate .dnsPolicy
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.
- boolean
.spec .taskRunTemplate .podTemplate .enableServiceLinks
EnableServiceLinks indicates whether information about services should be injected into pod’s environment variables, matching the syntax of Docker links. Optional: Defaults to true.
- array
.spec .taskRunTemplate .podTemplate .env
List of environment variables that can be provided to the containers belonging to the pod.
- string required
.spec .taskRunTemplate .podTemplate .env[] .name
Name of the environment variable. Must be a C_IDENTIFIER.
- string
.spec .taskRunTemplate .podTemplate .env[] .value
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. 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. Defaults to “”.
- object
.spec .taskRunTemplate .podTemplate .env[] .valueFrom
Source for the environment variable’s value. Cannot be used if value is not empty.
- object
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .configMapKeyRef
Selects a key of a ConfigMap.
- string required
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .configMapKeyRef .key
The key to select.
- string
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .configMapKeyRef .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .configMapKeyRef .optional
Specify whether the ConfigMap or its key must be defined
- object
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .fieldRef
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels['<KEY>']
,metadata.annotations['<KEY>']
, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. - string
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .fieldRef .apiVersion
Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- string required
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .fieldRef .fieldPath
Path of the field to select in the specified API version.
- object
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .resourceFieldRef
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
- string
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .resourceFieldRef .containerName
Container name: required for volumes, optional for env vars
- integer | string
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .resourceFieldRef .divisor
Specifies the output format of the exposed resources, defaults to “1”
- string required
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .resourceFieldRef .resource
Required: resource to select
- object
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .secretKeyRef
Selects a key of a secret in the pod’s namespace
- string required
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .secretKeyRef .key
The key of the secret to select from. Must be a valid secret key.
- string
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .secretKeyRef .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .taskRunTemplate .podTemplate .env[] .valueFrom .secretKeyRef .optional
Specify whether the Secret or its key must be defined
- array
.spec .taskRunTemplate .podTemplate .hostAliases
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.
- array
.spec .taskRunTemplate .podTemplate .hostAliases[] .hostnames
Hostnames for the above IP address.
- string required
.spec .taskRunTemplate .podTemplate .hostAliases[] .ip
IP address of the host file entry.
- boolean
.spec .taskRunTemplate .podTemplate .hostNetwork
HostNetwork specifies whether the pod may use the node network namespace
- array
.spec .taskRunTemplate .podTemplate .imagePullSecrets
ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified
- string
.spec .taskRunTemplate .podTemplate .imagePullSecrets[] .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- object
.spec .taskRunTemplate .podTemplate .nodeSelector
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/
- string
.spec .taskRunTemplate .podTemplate .priorityClassName
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.
- string
.spec .taskRunTemplate .podTemplate .runtimeClassName
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.
- string
.spec .taskRunTemplate .podTemplate .schedulerName
SchedulerName specifies the scheduler to be used to dispatch the Pod
- undefined
.spec .taskRunTemplate .podTemplate .securityContext
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. See Pod.spec.securityContext (API version: v1)
- array
.spec .taskRunTemplate .podTemplate .tolerations
If specified, the pod’s tolerations.
- string
.spec .taskRunTemplate .podTemplate .tolerations[] .effect
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- string
.spec .taskRunTemplate .podTemplate .tolerations[] .key
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- string
.spec .taskRunTemplate .podTemplate .tolerations[] .operator
Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- integer
.spec .taskRunTemplate .podTemplate .tolerations[] .tolerationSeconds
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- string
.spec .taskRunTemplate .podTemplate .tolerations[] .value
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- array
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints
TopologySpreadConstraints controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.
- object
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector
LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- array
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed.
- string required
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .key
key is the label key that the selector applies to.
- string required
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .operator
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- array
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector .matchExpressions[] .values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- object
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .labelSelector .matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- array
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .matchLabelKeys
MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn’t set. Keys that don’t exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.
This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
- integer required
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .maxSkew
MaxSkew describes the degree to which pods may be unevenly distributed. When
whenUnsatisfiable=DoNotSchedule
, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P |- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1).
- if MaxSkew is 2, incoming pod can be scheduled onto any zone.
When
whenUnsatisfiable=ScheduleAnyway
, it is used to give higher precedence to topologies that satisfy it. It’s a required field. Default value is 1 and 0 is not allowed.
- integer
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .minDomains
MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats “global minimum” as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won’t schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so “global minimum” is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.
- string
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .nodeAffinityPolicy
NodeAffinityPolicy indicates how we will treat Pod’s nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are:
- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
- string
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .nodeTaintsPolicy
NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are:
- Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included.
- Ignore: node taints are ignored. All nodes are included.
If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
- string required
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .topologyKey
TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each
as a “bucket”, and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is “kubernetes.io/hostname”, each Node is a domain of that topology. And, if TopologyKey is “topology.kubernetes.io/zone”, each zone is a domain of that topology. It’s a required field. - string required
.spec .taskRunTemplate .podTemplate .topologySpreadConstraints[] .whenUnsatisfiable
WhenUnsatisfiable indicates how to deal with a pod if it doesn’t satisfy the spread constraint.
- DoNotSchedule (default) tells the scheduler not to schedule it.
- ScheduleAnyway tells the scheduler to schedule the pod in any location, but giving higher precedence to topologies that would help reduce the skew. A constraint is considered “Unsatisfiable” for an incoming pod if and only if every possible node assignment for that pod would violate “MaxSkew” on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won’t make it more imbalanced. It’s a required field.
- undefined
.spec .taskRunTemplate .podTemplate .volumes
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes See Pod.spec.volumes (API version: v1)
- string
.spec .taskRunTemplate .serviceAccountName
- object
.spec .timeouts
Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline >= Timeouts.tasks + Timeouts.finally
- string
.spec .timeouts .finally
Finally sets the maximum allowed duration of this pipeline’s finally
- string
.spec .timeouts .pipeline
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.
- string
.spec .timeouts .tasks
Tasks sets the maximum allowed duration of this pipeline’s tasks
- array
.spec .workspaces
Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.
- object
.spec .workspaces[] .configMap
ConfigMap represents a configMap that should populate this workspace.
- integer
.spec .workspaces[] .configMap .defaultMode
defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- array
.spec .workspaces[] .configMap .items
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- string required
.spec .workspaces[] .configMap .items[] .key
key is the key to project.
- integer
.spec .workspaces[] .configMap .items[] .mode
mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- string required
.spec .workspaces[] .configMap .items[] .path
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- string
.spec .workspaces[] .configMap .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .workspaces[] .configMap .optional
optional specify whether the ConfigMap or its keys must be defined
- object
.spec .workspaces[] .csi
CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
- string required
.spec .workspaces[] .csi .driver
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
- string
.spec .workspaces[] .csi .fsType
fsType to mount. Ex. “ext4”, “xfs”, “ntfs”. If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
- object
.spec .workspaces[] .csi .nodePublishSecretRef
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
- string
.spec .workspaces[] .csi .nodePublishSecretRef .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .workspaces[] .csi .readOnly
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).
- object
.spec .workspaces[] .csi .volumeAttributes
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver’s documentation for supported values.
- object
.spec .workspaces[] .emptyDir
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.
- string
.spec .workspaces[] .emptyDir .medium
medium represents what type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- integer | string
.spec .workspaces[] .emptyDir .sizeLimit
sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- string required
.spec .workspaces[] .name
Name is the name of the workspace populated by the volume.
- object
.spec .workspaces[] .persistentVolumeClaim
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Either this OR EmptyDir can be used.
- string required
.spec .workspaces[] .persistentVolumeClaim .claimName
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- boolean
.spec .workspaces[] .persistentVolumeClaim .readOnly
readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
- object
.spec .workspaces[] .projected
Projected represents a projected volume that should populate this workspace.
- integer
.spec .workspaces[] .projected .defaultMode
defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- array
.spec .workspaces[] .projected .sources
sources is the list of volume projections. Each entry in this list handles one source.
- object
.spec .workspaces[] .projected .sources[] .clusterTrustBundle
ClusterTrustBundle allows a pod to access the
.spec.trustBundle
field of ClusterTrustBundle objects in an auto-updating file.Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.
- object
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector
Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as “match nothing”. If set but empty, interpreted as “match everything”.
- array
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector .matchExpressions
matchExpressions is a list of label selector requirements. The requirements are ANDed.
- string required
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector .matchExpressions[] .key
key is the label key that the selector applies to.
- string required
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector .matchExpressions[] .operator
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- array
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector .matchExpressions[] .values
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- object
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .labelSelector .matchLabels
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
- string
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .name
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
- boolean
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .optional
If true, don’t block pod startup if the referenced ClusterTrustBundle(s) aren’t available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.
- string required
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .path
Relative path from the volume root to write the bundle.
- string
.spec .workspaces[] .projected .sources[] .clusterTrustBundle .signerName
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.
- object
.spec .workspaces[] .projected .sources[] .configMap
configMap information about the configMap data to project
- array
.spec .workspaces[] .projected .sources[] .configMap .items
items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- string required
.spec .workspaces[] .projected .sources[] .configMap .items[] .key
key is the key to project.
- integer
.spec .workspaces[] .projected .sources[] .configMap .items[] .mode
mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- string required
.spec .workspaces[] .projected .sources[] .configMap .items[] .path
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- string
.spec .workspaces[] .projected .sources[] .configMap .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .workspaces[] .projected .sources[] .configMap .optional
optional specify whether the ConfigMap or its keys must be defined
- object
.spec .workspaces[] .projected .sources[] .downwardAPI
downwardAPI information about the downwardAPI data to project
- array
.spec .workspaces[] .projected .sources[] .downwardAPI .items
Items is a list of DownwardAPIVolume file
- object
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .fieldRef
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
- string
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .fieldRef .apiVersion
Version of the schema the FieldPath is written in terms of, defaults to “v1”.
- string required
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .fieldRef .fieldPath
Path of the field to select in the specified API version.
- integer
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .mode
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- string required
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .path
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
- object
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .resourceFieldRef
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- string
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .resourceFieldRef .containerName
Container name: required for volumes, optional for env vars
- integer | string
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .resourceFieldRef .divisor
Specifies the output format of the exposed resources, defaults to “1”
- string required
.spec .workspaces[] .projected .sources[] .downwardAPI .items[] .resourceFieldRef .resource
Required: resource to select
- object
.spec .workspaces[] .projected .sources[] .secret
secret information about the secret data to project
- array
.spec .workspaces[] .projected .sources[] .secret .items
items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- string required
.spec .workspaces[] .projected .sources[] .secret .items[] .key
key is the key to project.
- integer
.spec .workspaces[] .projected .sources[] .secret .items[] .mode
mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- string required
.spec .workspaces[] .projected .sources[] .secret .items[] .path
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- string
.spec .workspaces[] .projected .sources[] .secret .name
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- boolean
.spec .workspaces[] .projected .sources[] .secret .optional
optional field specify whether the Secret or its key must be defined
- object
.spec .workspaces[] .projected .sources[] .serviceAccountToken
serviceAccountToken is information about the serviceAccountToken data to project
- string
.spec .workspaces[] .projected .sources[] .serviceAccountToken .audience
audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
- integer
.spec .workspaces[] .projected .sources[] .serviceAccountToken .expirationSeconds
expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
- string required
.spec .workspaces[] .projected .sources[] .serviceAccountToken .path
path is the path relative to the mount point of the file to project the token into.
- object
.spec .workspaces[] .secret
Secret represents a secret that should populate this workspace.
- integer
.spec .workspaces[] .secret .defaultMode
defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- array
.spec .workspaces[] .secret .items
items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
- string required
.spec .workspaces[] .secret .items[] .key
key is the key to project.
- integer
.spec .workspaces[] .secret .items[] .mode
mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- string required
.spec .workspaces[] .secret .items[] .path
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
- boolean
.spec .workspaces[] .secret .optional
optional field specify whether the Secret or its keys must be defined
- string
.spec .workspaces[] .secret .secretName
secretName is the name of the secret in the pod’s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- string
.spec .workspaces[] .subPath
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).
- undefined
.spec .workspaces[] .volumeClaimTemplate
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. See PersistentVolumeClaim (API version: v1)
- object
.status
PipelineRunStatus defines the observed state of PipelineRun
- object
.status .annotations
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.
- array
.status .childReferences
list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.
- string
.status .childReferences[] .apiVersion
- string
.status .childReferences[] .displayName
DisplayName is a user-facing name of the pipelineTask that may be used to populate a UI.
- string
.status .childReferences[] .kind
- string
.status .childReferences[] .name
Name is the name of the TaskRun or Run this is referencing.
- string
.status .childReferences[] .pipelineTaskName
PipelineTaskName is the name of the PipelineTask this is referencing.
- array
.status .childReferences[] .whenExpressions
WhenExpressions is the list of checks guarding the execution of the PipelineTask
- string
.status .childReferences[] .whenExpressions[] .cel
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
- string
.status .childReferences[] .whenExpressions[] .input
Input is the string for guard checking which can be a static input or an output from a parent Task
- string
.status .childReferences[] .whenExpressions[] .operator
Operator that represents an Input’s relationship to the values
- array
.status .childReferences[] .whenExpressions[] .values
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
- string
.status .completionTime
CompletionTime is the time the PipelineRun completed.
- array
.status .conditions
Conditions the latest available observations of a resource’s current state.
- string
.status .conditions[] .lastTransitionTime
LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).
- string
.status .conditions[] .message
A human readable message indicating details about the transition.
- string
.status .conditions[] .reason
The reason for the condition’s last transition.
- string
.status .conditions[] .severity
Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
- string required
.status .conditions[] .status
Status of the condition, one of True, False, Unknown.
- string required
.status .conditions[] .type
Type of condition.
- string
.status .finallyStartTime
FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.
- integer
.status .observedGeneration
ObservedGeneration is the ‘Generation’ of the Service that was last processed by the controller.
- undefined
.status .pipelineSpec
PipelineSpec contains the exact spec used to instantiate the run. See Pipeline.spec (API version: tekton.dev/v1)
- object
.status .provenance
Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).
- object
.status .provenance .featureFlags
FeatureFlags identifies the feature flags that were used during the task/pipeline run
- boolean
.status .provenance .featureFlags .awaitSidecarReadiness
- string
.status .provenance .featureFlags .coschedule
- boolean
.status .provenance .featureFlags .disableCredsInit
- string
.status .provenance .featureFlags .disableInlineSpec
- string
.status .provenance .featureFlags .enableAPIFields
- boolean
.status .provenance .featureFlags .enableArtifacts
- boolean
.status .provenance .featureFlags .enableCELInWhenExpression
- boolean
.status .provenance .featureFlags .enableConciseResolverSyntax
- boolean
.status .provenance .featureFlags .enableKeepPodOnCancel
- boolean
.status .provenance .featureFlags .enableKubernetesSidecar
- boolean
.status .provenance .featureFlags .enableParamEnum
- boolean
.status .provenance .featureFlags .enableProvenanceInStatus
- boolean
.status .provenance .featureFlags .enableStepActions
EnableStepActions is a no-op flag since StepActions are stable
- string
.status .provenance .featureFlags .enforceNonfalsifiability
- integer
.status .provenance .featureFlags .maxResultSize
- boolean
.status .provenance .featureFlags .requireGitSSHSecretKnownHosts
- string
.status .provenance .featureFlags .resultExtractionMethod
- boolean
.status .provenance .featureFlags .runningInEnvWithInjectedSidecars
- boolean
.status .provenance .featureFlags .sendCloudEventsForRuns
- boolean
.status .provenance .featureFlags .setSecurityContext
- boolean
.status .provenance .featureFlags .setSecurityContextReadOnlyRootFilesystem
- string
.status .provenance .featureFlags .verificationNoMatchPolicy
VerificationNoMatchPolicy is the feature flag for “trusted-resources-verification-no-match-policy” VerificationNoMatchPolicy can be set to “ignore”, “warn” and “fail” values. ignore: skip trusted resources verification when no matching verification policies found warn: skip trusted resources verification when no matching verification policies found and log a warning fail: fail the taskrun or pipelines run if no matching verification policies found
- object
.status .provenance .refSource
RefSource identifies the source where a remote task/pipeline came from.
- object
.status .provenance .refSource .digest
Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {“sha1”: “f99d13e554ffcb696dee719fa85b695cb5b0f428”}
- string
.status .provenance .refSource .entryPoint
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”
- string
.status .provenance .refSource .uri
URI indicates the identity of the source of the build definition. Example: “https://github.com/tektoncd/catalog”
- array
.status .results
Results are the list of results written out by the pipeline task’s containers
- string required
.status .results[] .name
Name is the result’s name as declared by the Pipeline
- undefined required
.status .results[] .value
Value is the result returned from the execution of this PipelineRun
- array
.status .skippedTasks
list of tasks that were skipped due to when expressions evaluating to false
- string required
.status .skippedTasks[] .name
Name is the Pipeline Task name
- string required
.status .skippedTasks[] .reason
Reason is the cause of the PipelineTask being skipped.
- array
.status .skippedTasks[] .whenExpressions
WhenExpressions is the list of checks guarding the execution of the PipelineTask
- string
.status .skippedTasks[] .whenExpressions[] .cel
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
- string
.status .skippedTasks[] .whenExpressions[] .input
Input is the string for guard checking which can be a static input or an output from a parent Task
- string
.status .skippedTasks[] .whenExpressions[] .operator
Operator that represents an Input’s relationship to the values
- array
.status .skippedTasks[] .whenExpressions[] .values
Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
- object
.status .spanContext
SpanContext contains tracing span context fields
- string
.status .startTime
StartTime is the time the PipelineRun is actually started.