PipelineRun deletion is failing with "unknown field "EnableTektonOCIBundles"" error in Openshift-Pipelines - RHOCP4

Solution Verified - Updated -

Issue

  • Deletion of old pipelinerun object is failing with below error:
admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "EnableTektonOCIBundles"
  • Unable to remove the finalizer also from pipelinerun object, failing with the same error message as above.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4
  • Red Hat OpenShift Pieplines 1.16+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content