triggers: Trigger fails to work as documented on kind cluster

Expected Behavior - As specified in the trigger samples

Actual Behavior - Event listener pods not starting up - crashloop back/error hence the listener is not processing simulated git webhook events

Steps to Reproduce the Problem

  1. Setup a pipeline, trigger , trigger template, trigger binding, event listener as per v1alpha github example
  2. Applied the required RBAC as suggested in the example
  3. Attempted simulating git hook event(PR) as demonstrated in the example

Additional Info

Latest Kind k8s cluster latest tekton , latest triggers and interceptor from official tekton git repo

  • Kubernetes version: Latest Kind k8s cluster Output of kubectl version: Latest Kind k8s cluster

    (paste your output here)
    
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 35 (12 by maintainers)

Most upvoted comments

Here is the error reported by git-clone step of git-build task /tekton/scripts/script-0-n49g7: line 3: syntax error: unexpected ā€œ(ā€

@shuknk8s could you provide the task/pipelineRun yaml that was created and the triggertemplate that was used. I’m mostly just interested in the git-clone task you are using and what params are being used for it both in the run as well as the template. (Also, what versions of pipelines are you using?)

@sm43 renaming makes sense. Maybe eventlistener-binding or eventlistener-clusterbining as names?

@vincentgerris I think the binding renaming fix should fix the example docs issues.

to be clear, with redoing I meant kubectl delete -f . and apply again in the example dir. I am using k3d, not kind. I think this applies to any cluster. thanks again