cloud · container · kubernetes · openshift · power · ppc64le · tekton

tekton: no endpoints available for service “tekton-pipelines-webhook

If you see an error like the above one during your Tekton deployment, you can use the steps provided here to fix it.

Issue:

Error from server (InternalError): error when creating "https://github.com/tektoncd/pipeline/releases/download/v0.24.0/release.notags.yaml": Internal error occurred: failed calling webhook "config.webhook.pipeline.tekton.dev": Post "https://tekton-pipelines-webhook.tekton-pipelines.svc:443/config-validation?timeout=10s": no endpoints available for service "tekton-pipelines-webhook

Solution:

oc delete validatingwebhookconfigurations.admissionregistration.k8s.io config.webhook.pipeline.tekton.dev
oc delete validatingwebhookconfigurations.admissionregistration.k8s.io validation.webhook.pipeline.tekton.dev
c delete mutatingwebhookconfigurations.admissionregistration.k8s.io webhook.pipeline.tekton.dev

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s