Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-6429

The field `taskRunTemplate` is not supported with both Tekton Triggers and Eventlistener

XMLWordPrintable

      Description of problem:

      The tekton trigger and Eventlistener definition does not support the field `taskRunTemplate` as below error is observed:

      Error from server (BadRequest): error when creating "trigger.yaml": admission webhook "webhook.triggers.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "taskRunTemplate"

      **

      **

      The trigger and eventlistener definition in documentation at [1], needs to be updated.

      **

       

      **

       

      {}[1]  https://docs.redhat.com/en/documentation/red_hat_openshift_pipelines/1.18/html/creating_cicd_pipelines/creating-applications-with-cicd-pipelines#adding-triggers_creating-applications-with-cicd-pipelines

       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              mramendi Mikhail Ramendik
              rhn-support-jyarora Jyotsana Arora
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: