github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/.tekton/tracer-reports/cron-eventlistener.yaml (about) 1 # (c) Copyright IBM Corp. 2024 2 3 apiVersion: triggers.tekton.dev/v1beta1 4 kind: TriggerTemplate 5 metadata: 6 name: tracer-reports-pipeline-template 7 spec: 8 resourcetemplates: 9 - apiVersion: tekton.dev/v1beta1 10 kind: PipelineRun 11 metadata: 12 generateName: tracer-reports-ci-pipeline-run- 13 spec: 14 pipelineRef: 15 name: tracer-reports-ci-pipeline 16 workspaces: 17 - name: tracer-reports-ci-pipeline-pvc 18 volumeClaimTemplate: 19 spec: 20 accessModes: 21 - ReadWriteOnce 22 resources: 23 requests: 24 storage: 5Gi 25 26 --- 27 apiVersion: triggers.tekton.dev/v1beta1 28 kind: TriggerBinding 29 metadata: 30 name: tracer-reports-cron-binding 31 # TriggerBinding without spec is not supported; so adding a temporary spec 32 spec: 33 params: 34 - name: temp 35 value: temp 36 --- 37 apiVersion: triggers.tekton.dev/v1beta1 38 kind: EventListener 39 metadata: 40 name: cron-listener 41 spec: 42 serviceAccountName: tekton-triggers-eventlistener-serviceaccount 43 triggers: 44 - name: cron-trig 45 bindings: 46 - ref: tracer-reports-cron-binding 47 template: 48 ref: tracer-reports-pipeline-template