Trigger [triggers.tekton.dev/v1beta1]
- Description
- Trigger defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.
- Type
object
Specification
.spec
- Description
- Spec holds the desired state of the Trigger
- Type
object- Required
bindingstemplate
.spec.bindings
- Type
array
.spec.bindings[]
- Type
object
.spec.interceptors
- Type
array
.spec.interceptors[]
- Description
- TriggerInterceptor provides a hook to intercept and pre-process events
- Type
object- Required
ref
.spec.interceptors[].bitbucket
- Description
- BitbucketInterceptor provides a webhook to intercept and pre-process events
- Type
object
.spec.interceptors[].bitbucket.eventTypes
- Type
array
.spec.interceptors[].bitbucket.eventTypes[]
- Type
string
.spec.interceptors[].bitbucket.secretRef
- Description
- SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the "SecretName" field, which allows us to access a single secret value.
- Type
object
.spec.interceptors[].cel
- Description
- CELInterceptor provides a webhook to intercept and pre-process events
- Type
object
.spec.interceptors[].cel.overlays
- Type
array
.spec.interceptors[].cel.overlays[]
- Description
- CELOverlay provides a way to modify the request body using DeprecatedCEL expressions
- Type
object
.spec.interceptors[].github
- Description
- Deprecated old fields below
- Type
object
.spec.interceptors[].github.eventTypes
- Type
array
.spec.interceptors[].github.eventTypes[]
- Type
string
.spec.interceptors[].github.secretRef
- Description
- SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the "SecretName" field, which allows us to access a single secret value.
- Type
object
.spec.interceptors[].gitlab
- Description
- GitLabInterceptor provides a webhook to intercept and pre-process events
- Type
object
.spec.interceptors[].gitlab.eventTypes
- Type
array
.spec.interceptors[].gitlab.eventTypes[]
- Type
string
.spec.interceptors[].gitlab.secretRef
- Description
- SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the "SecretName" field, which allows us to access a single secret value.
- Type
object
.spec.interceptors[].params
- Description
- Params are the params to send to the interceptor
- Type
array
.spec.interceptors[].params[]
- Description
- InterceptorParams defines a key-value pair that can be passed on an interceptor
- Type
object- Required
namevalue
.spec.interceptors[].ref
- Description
- Ref refers to the Interceptor to use
- Type
object
.spec.interceptors[].webhook
- Description
- WebhookInterceptor refers to an old style webhook interceptor service
- Type
object
.spec.interceptors[].webhook.header
- Description
- Header is a group of key-value pairs that can be appended to the interceptor request headers. This allows the interceptor to make decisions specific to an EventListenerTrigger.
- Type
array
.spec.interceptors[].webhook.header[]
- Description
- Param declares an ParamValues to use for the parameter called name.
- Type
object- Required
namevalue
.spec.interceptors[].webhook.header[].value
- Description
- ParamValue is a type that can hold a single string or string array. Used in JSON unmarshalling so that a single JSON field can accept either an individual string or an array of strings.
- Type
object
.spec.interceptors[].webhook.objectRef
- Description
- ObjectRef is a reference to an object that will resolve to a cluster DNS name to use as the EventInterceptor. Either objectRef or url can be specified
- Type
object
.spec.template
- Type
object
.spec.template.spec
- Description
- TriggerTemplateSpec holds the desired state of TriggerTemplate
- Type
object
.spec.template.spec.params
- Type
array
.spec.template.spec.params[]
- Description
- ParamSpec defines an arbitrary named input whose value can be supplied by a `Param`.
- Type
object- Required
name
.spec.template.spec.resourcetemplates
- Type
array
.spec.template.spec.resourcetemplates[]
- Description
- TriggerResourceTemplate describes a resource to create
- Type
object
API Endpoints
The following API endpoints are available:
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/triggersDELETE: delete collection of TriggerGET: list objects of kind TriggerPOST: create a new Trigger
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/triggers/{name}DELETE: delete the specified TriggerGET: read the specified TriggerPATCH: partially update the specified TriggerPUT: replace the specified Trigger
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/triggers
- HTTP method
DELETE- Description
- delete collection of Trigger
- HTTP responses
- HTTP method
GET- Description
- list objects of kind Trigger
- HTTP responses
- HTTP method
POST- Description
- create a new Trigger
- Query parameters
- Body parameters
- HTTP responses
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/triggers/{name}
- HTTP method
DELETE- Description
- delete the specified Trigger
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified Trigger
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified Trigger
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified Trigger
- Query parameters
- Body parameters
- HTTP responses