Triggers enables users to map fields from an event payload into resource templates. Put another way, this allows events to both model and instantiate themselves as Kubernetes resources. In the case of tektoncd/pipeline
, this makes it easy to encapsulate configuration into PipelineRun
s and PipelineResource
s.
See the following links for more on each of the resources involved: