PipelineRun [tekton.dev/v1]
- 描述
- 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.
- 类型
object
规格
.spec
- 描述
- PipelineRunSpec defines the desired state of PipelineRun
- 类型
object
.spec.params
- 描述
- Params is a list of parameter names and values.
- 类型
array
.spec.params[]
- 描述
- Param declares an ParamValues to use for the parameter called name.
- 类型
object- 必填
namevalue
.spec.pipelineRef
- 描述
- PipelineRef can be used to refer to a specific instance of a Pipeline.
- 类型
object
.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.
- 类型
array
.spec.pipelineRef.params[]
- 描述
- Param declares an ParamValues to use for the parameter called name.
- 类型
object- 必填
namevalue
.spec.taskRunSpecs
- 描述
- TaskRunSpecs holds a set of runtime specs
- 类型
array
.spec.taskRunSpecs[]
- 描述
- PipelineTaskRunSpec can be used to configure specific specs for a concrete Task
- 类型
object
.spec.taskRunSpecs[].computeResources
- 描述
- Compute resources to use for this TaskRun
- 类型
object
.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.
- 类型
array
.spec.taskRunSpecs[].computeResources.claims[]
- 描述
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- 类型
object- 必填
name
.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[].podTemplate
- 描述
- PodTemplate holds pod specific configuration
- 类型
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.
- 类型
object
.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.nameservers[]
- 类型
string
.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.
- 类型
array
.spec.taskRunSpecs[].podTemplate.dnsConfig.options[]
- 描述
- PodDNSConfigOption defines DNS resolver options of a pod.
- 类型
object
.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.
- 类型
array
.spec.taskRunSpecs[].podTemplate.dnsConfig.searches[]
- 类型
string
.spec.taskRunSpecs[].podTemplate.env
- 描述
- List of environment variables that can be provided to the containers belonging to the pod.
- 类型
array
.spec.taskRunSpecs[].podTemplate.env[]
- 描述
- EnvVar represents an environment variable present in a Container.
- 类型
object- 必填
name
.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.
- 类型
object- 必填
key
.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.
- 类型
object- 必填
fieldPath
.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.
- 类型
object- 必填
resource
.spec.taskRunSpecs[].podTemplate.env[].valueFrom.secretKeyRef
- 描述
- Selects a key of a secret in the pod's namespace
- 类型
object- 必填
key
.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[]
- 描述
- HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
- 类型
object- 必填
ip
.spec.taskRunSpecs[].podTemplate.hostAliases[].hostnames
- 描述
- Hostnames for the above IP address.
- 类型
array
.spec.taskRunSpecs[].podTemplate.hostAliases[].hostnames[]
- 类型
string
.spec.taskRunSpecs[].podTemplate.imagePullSecrets
- 描述
- ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified
- 类型
array
.spec.taskRunSpecs[].podTemplate.imagePullSecrets[]
- 描述
- LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
- 类型
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/
- 类型
object
.spec.taskRunSpecs[].podTemplate.tolerations
- 描述
- If specified, the pod's tolerations.
- 类型
array
.spec.taskRunSpecs[].podTemplate.tolerations[]
- 描述
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- 类型
object
.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.
- 类型
array
.spec.taskRunSpecs[].podTemplate.topologySpreadConstraints[]
- 描述
- TopologySpreadConstraint specifies how to spread matching pods among the given topology.
- 类型
object- 必填
maxSkewtopologyKeywhenUnsatisfiable
.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.
- 类型
object
.spec.taskRunSpecs[].podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.taskRunSpecs[].podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.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.
- 类型
array
.spec.taskRunSpecs[].podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions[].values[]
- 类型
string
.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.
- 类型
object
.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).
- 类型
array
.spec.taskRunSpecs[].podTemplate.topologySpreadConstraints[].matchLabelKeys[]
- 类型
string
.spec.taskRunSpecs[].sidecarSpecs
- 类型
array
.spec.taskRunSpecs[].sidecarSpecs[]
- 描述
- TaskRunSidecarSpec is used to override the values of a Sidecar in the corresponding Task.
- 类型
object- 必填
computeResourcesname
.spec.taskRunSpecs[].sidecarSpecs[].computeResources
- 描述
- The resource requirements to apply to the Sidecar.
- 类型
object
.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.
- 类型
array
.spec.taskRunSpecs[].sidecarSpecs[].computeResources.claims[]
- 描述
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- 类型
object- 必填
name
.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/
- 类型
object
.spec.taskRunSpecs[].stepSpecs
- 类型
array
.spec.taskRunSpecs[].stepSpecs[]
- 描述
- TaskRunStepSpec is used to override the values of a Step in the corresponding Task.
- 类型
object- 必填
computeResourcesname
.spec.taskRunSpecs[].stepSpecs[].computeResources
- 描述
- The resource requirements to apply to the Step.
- 类型
object
.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.
- 类型
array
.spec.taskRunSpecs[].stepSpecs[].computeResources.claims[]
- 描述
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- 类型
object- 必填
name
.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/
- 类型
object
.spec.taskRunTemplate
- 描述
- TaskRunTemplate represent template of taskrun
- 类型
object
.spec.taskRunTemplate.podTemplate
- 描述
- PodTemplate holds pod specific configuration
- 类型
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.
- 类型
object
.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.nameservers[]
- 类型
string
.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.
- 类型
array
.spec.taskRunTemplate.podTemplate.dnsConfig.options[]
- 描述
- PodDNSConfigOption defines DNS resolver options of a pod.
- 类型
object
.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.
- 类型
array
.spec.taskRunTemplate.podTemplate.dnsConfig.searches[]
- 类型
string
.spec.taskRunTemplate.podTemplate.env
- 描述
- List of environment variables that can be provided to the containers belonging to the pod.
- 类型
array
.spec.taskRunTemplate.podTemplate.env[]
- 描述
- EnvVar represents an environment variable present in a Container.
- 类型
object- 必填
name
.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.
- 类型
object- 必填
key
.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.
- 类型
object- 必填
fieldPath
.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.
- 类型
object- 必填
resource
.spec.taskRunTemplate.podTemplate.env[].valueFrom.secretKeyRef
- 描述
- Selects a key of a secret in the pod's namespace
- 类型
object- 必填
key
.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[]
- 描述
- HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
- 类型
object- 必填
ip
.spec.taskRunTemplate.podTemplate.hostAliases[].hostnames
- 描述
- Hostnames for the above IP address.
- 类型
array
.spec.taskRunTemplate.podTemplate.hostAliases[].hostnames[]
- 类型
string
.spec.taskRunTemplate.podTemplate.imagePullSecrets
- 描述
- ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified
- 类型
array
.spec.taskRunTemplate.podTemplate.imagePullSecrets[]
- 描述
- LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
- 类型
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/
- 类型
object
.spec.taskRunTemplate.podTemplate.tolerations
- 描述
- If specified, the pod's tolerations.
- 类型
array
.spec.taskRunTemplate.podTemplate.tolerations[]
- 描述
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- 类型
object
.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.
- 类型
array
.spec.taskRunTemplate.podTemplate.topologySpreadConstraints[]
- 描述
- TopologySpreadConstraint specifies how to spread matching pods among the given topology.
- 类型
object- 必填
maxSkewtopologyKeywhenUnsatisfiable
.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.
- 类型
object
.spec.taskRunTemplate.podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.taskRunTemplate.podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.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.
- 类型
array
.spec.taskRunTemplate.podTemplate.topologySpreadConstraints[].labelSelector.matchExpressions[].values[]
- 类型
string
.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.
- 类型
object
.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).
- 类型
array
.spec.taskRunTemplate.podTemplate.topologySpreadConstraints[].matchLabelKeys[]
- 类型
string
.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
- 类型
object
.spec.workspaces
- 描述
- Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.
- 类型
array
.spec.workspaces[]
- 描述
- WorkspaceBinding maps a Task's declared workspace to a Volume.
- 类型
object- 必填
name
.spec.workspaces[].configMap
- 描述
- ConfigMap represents a configMap that should populate this workspace.
- 类型
object
.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 '..'.
- 类型
array
.spec.workspaces[].configMap.items[]
- 描述
- Maps a string key to a path within a volume.
- 类型
object- 必填
keypath
.spec.workspaces[].csi
- 描述
- CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
- 类型
object- 必填
driver
.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.
- 类型
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.
- 类型
object
.spec.workspaces[].persistentVolumeClaim
- 描述
- PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Either this OR EmptyDir can be used.
- 类型
object- 必填
claimName
.spec.workspaces[].projected
- 描述
- Projected represents a projected volume that should populate this workspace.
- 类型
object
.spec.workspaces[].projected.sources
- 描述
- sources is the list of volume projections. Each entry in this list handles one source.
- 类型
array
.spec.workspaces[].projected.sources[]
- 描述
- Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
- 类型
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- 必填
path
.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".
- 类型
object
.spec.workspaces[].projected.sources[].clusterTrustBundle.labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.workspaces[].projected.sources[].clusterTrustBundle.labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.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.
- 类型
array
.spec.workspaces[].projected.sources[].clusterTrustBundle.labelSelector.matchExpressions[].values[]
- 类型
string
.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.
- 类型
object
.spec.workspaces[].projected.sources[].configMap
- 描述
- configMap information about the configMap data to project
- 类型
object
.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 '..'.
- 类型
array
.spec.workspaces[].projected.sources[].configMap.items[]
- 描述
- Maps a string key to a path within a volume.
- 类型
object- 必填
keypath
.spec.workspaces[].projected.sources[].downwardAPI
- 描述
- downwardAPI information about the downwardAPI data to project
- 类型
object
.spec.workspaces[].projected.sources[].downwardAPI.items
- 描述
- Items is a list of DownwardAPIVolume file
- 类型
array
.spec.workspaces[].projected.sources[].downwardAPI.items[]
- 描述
- DownwardAPIVolumeFile represents information to create the file containing the pod field
- 类型
object- 必填
path
.spec.workspaces[].projected.sources[].downwardAPI.items[].fieldRef
- 描述
- Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
- 类型
object- 必填
fieldPath
.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.
- 类型
object- 必填
resource
.spec.workspaces[].projected.sources[].secret
- 描述
- secret information about the secret data to project
- 类型
object
.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 '..'.
- 类型
array
.spec.workspaces[].projected.sources[].secret.items[]
- 描述
- Maps a string key to a path within a volume.
- 类型
object- 必填
keypath
.spec.workspaces[].projected.sources[].serviceAccountToken
- 描述
- serviceAccountToken is information about the serviceAccountToken data to project
- 类型
object- 必填
path
.spec.workspaces[].secret
- 描述
- Secret represents a secret that should populate this workspace.
- 类型
object
.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 '..'.
- 类型
array
.spec.workspaces[].secret.items[]
- 描述
- Maps a string key to a path within a volume.
- 类型
object- 必填
keypath
.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.
- 类型
object
.status.childReferences
- 描述
- list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.
- 类型
array
.status.childReferences[]
- 描述
- ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.
- 类型
object
.status.childReferences[].whenExpressions
- 描述
- WhenExpressions is the list of checks guarding the execution of the PipelineTask
- 类型
array
.status.childReferences[].whenExpressions[]
- 描述
- 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
- 类型
object
.status.childReferences[].whenExpressions[].values
- 描述
- Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
- 类型
array
.status.childReferences[].whenExpressions[].values[]
- 类型
string
.status.conditions
- 描述
- Conditions the latest available observations of a resource's current state.
- 类型
array
.status.conditions[]
- 描述
- Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- 类型
object- 必填
statustype
.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
- 类型
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"}
- 类型
object
.status.results
- 描述
- Results are the list of results written out by the pipeline task's containers
- 类型
array
.status.results[]
- 描述
- PipelineRunResult used to describe the results of a pipeline
- 类型
object- 必填
namevalue
.status.skippedTasks
- 描述
- list of tasks that were skipped due to when expressions evaluating to false
- 类型
array
.status.skippedTasks[]
- 描述
- 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.
- 类型
object- 必填
namereason
.status.skippedTasks[].whenExpressions
- 描述
- WhenExpressions is the list of checks guarding the execution of the PipelineTask
- 类型
array
.status.skippedTasks[].whenExpressions[]
- 描述
- 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
- 类型
object
.status.skippedTasks[].whenExpressions[].values
- 描述
- Values is an array of strings, which is compared against the input, for guard checking It must be non-empty
- 类型
array
.status.skippedTasks[].whenExpressions[].values[]
- 类型
string
.status.spanContext
- 描述
- SpanContext contains tracing span context fields
- 类型
object
API 端点
可用的 API 端点如下:
/apis/tekton.dev/v1/namespaces/{namespace}/pipelinerunsDELETE: delete collection of PipelineRunGET: list objects of kind PipelineRunPOST: create a new PipelineRun
/apis/tekton.dev/v1/namespaces/{namespace}/pipelineruns/{name}DELETE: delete the specified PipelineRunGET: read the specified PipelineRunPATCH: partially update the specified PipelineRunPUT: replace the specified PipelineRun
/apis/tekton.dev/v1/namespaces/{namespace}/pipelineruns
- HTTP 方法
DELETE- 描述
- delete collection of PipelineRun
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind PipelineRun
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new PipelineRun
- 查询参数
- 请求体参数
- HTTP 响应
/apis/tekton.dev/v1/namespaces/{namespace}/pipelineruns/{name}
- HTTP 方法
DELETE- 描述
- delete the specified PipelineRun
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified PipelineRun
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified PipelineRun
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified PipelineRun
- 查询参数
- 请求体参数
- HTTP 响应