Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1494

Upgrade from 1.3.1 to 1.4.0 breaks existing Triggers workloads

XMLWordPrintable

    • False
    • False
    • Undefined
    • Pipelines Sprint 200

      • 1.4.0 (Triggers 0.12.1) `template.name` field is now completely deprecated in favor of `template.ref`

      users from 1.3.1 (Triggers: 0.10.2) when refers to `template.ref` they still have empty name field exists in their workloads because bug (not having `omitempty`  got fixed in 0.11.1 upstream release), breaks webhook validation when user upgrades directly from 0.10.2 to 0.12.1

      Error:

      oc replace/delete -f cron-job/el.yaml 
      
      Error from server (BadRequest): error when replacing "cron-job/el.yaml": admission  
      webhook "webhook.triggers.tekton.dev" denied the request: mutation failed: cannot decode incoming old object: json: unknown field "name"
      

              sashture Savita .
              pthangad Praveen Kumar Reddy Thangadancha (Inactive)
              Praveen Kumar Reddy Thangadancha Praveen Kumar Reddy Thangadancha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: