Creating OpenShift Pipelines (Tekton) resource fails with error `x509: certificate has expired or is not yet valid`

Solution Verified - Updated -

Issue

  • Creating Tekton resource fails with the following error:
failed calling webhook "webhook.pipeline.tekton.dev": Post "https://tekton-pipelines-webhook.openshift-pipelines.svc:443/defaulting?timeout=30s": x509: certificate has expired or is not yet valid: current time 2021-10-05T12:08:24Z is after 2021-08-06T09:04:58Z

Environment

  • Red Hat OpenShift Container Platform 4 (RHOCP)
    • OpenShift Pipelines (version < 1.8)

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