Installing Tekton Triggers
Installing Tekton Triggers is very similar to Tekton Pipelines installation. You can use the kubectl
command to apply the YAML files that are provided in the GitHub repository. You can find the most recent details of the installation, along with the URLs to the latest files on the Tekton website at https://tekton.dev/docs/triggers/install/.
The installation is in two steps. First, install the trigger custom resource definitions (CRDs) by running the following command:
$ kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
Next, you will need to install the interceptors. An interceptor is an object that contains the logic necessary to validate and filter webhooks coming from various sources. The Tekton Triggers team provides you with four basic interceptors (GitHub, Gitlab, Bitbucket, and Common Expression Language (CEL)). To install them, you can use the following command:
$ kubectl apply ...