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

Pipelines 1.8 facing decoding request failed: cannot decode incoming old object: json: unknown field "serviceAccountNames"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • Pipelines 1.9.0
    • Pipelines 1.8.0, Pipelines 1.8.1
    • Tekton Pipelines
    • None
    • False
    • None
    • False

      Upgrading to 1.8, we hit an issue where the PipelineRun can no longer be deleted due to

      admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: decoding request failed: cannot decode incoming old object: json: unknown field "serviceAccountNames"
      

      serviceAccountNames was deprecated and then removed in the 1.8 release. Updates were made to the pipelines to remove this, but the old PipelineRun objects can not be deleted.

      Relevant upstream issue around validation on delete:
      https://github.com/tektoncd/pipeline/issues/5317

              vdemeest Vincent Demeester
              rhn-support-mrobson Matt Robson
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: