Pipeline Resource types
PipelineResources are a set of objects that are used as inputs to a Task and can be output by a Task. A Task can have multiple inputs and outputs.
The following PipelineResources are currently supported:
-
Git Resource
-
Pull Request Resource
-
Image Resource
-
Cluster Resource

To define a configuration file for PipelineResources, you must specify the following fields:
Required:
-
apiVersion- Specifies the API version. -
kind- Specifies thePipelineResourceresource object. -
metadata- Specifies data to uniquely identify thePipelineResourceobject, for example aname. -
spec- Specifies the configuration information for thePipelineResourceobject. -
type- Specifies thetypeofPipelineResource.
Optional:
-
params- Parameters which are specific to each type ofPipelineResource.