Right way to Uninstall OpenShift-Pipelines fromOpenShift 4.x

remove OpenShift-Pipelines; then unsubscribe OpenShift-Pipelines-Operator

Nikhil Thomas
Dec 9, 2019 · 2 min read

The first article in this series is a walkthough of installing OpenShift Pipelines on OpensShift 4.x using OpenShift Pipelines Operator. During installation the operator automatically handles necessary setup for installing its payload OpenShift Pipelines. However, the user (admin) has to aid the operator for a clean removal of both the payload OpenShift Pipelines (TektonPipelines) and the operator OpenShift-Pipelines-Operator.

The clean uninstallation OpenShift-Pipelines from you OpenShift 4.x cluster involves 2 steps:

#1 Delete the instance of the OpenShift-Pipelines-Config

First we have to delete the instance of the CRD ‘config.operator.tekton.dev’ called ‘cluster’ which was created by the operator automatically during installation.

Goto Operators>Installed Operators (make sure the Namespace ‘openshift-operators’ is selected)

Click OpenShift Pipelines Operator. Then click ‘OpenShift Pipelines Config’ tab.

Delete the instance listed under Configs (name: ‘cluster’).

This can also done from terminal.

$ oc delete config.operator.tekton.dev clusterconfig.operator.tekton.dev "cluster" deleted

#2 Uninstall (unsubscribe) OpenShift Pipelines Operator

Go to Operators>OperatorHub and locate ‘OpenShift Pipelines Operator’ tile.

Click OpenShift Pipelines Operator. Then click uninstall button to completely remove OpenShift Pipelines Operator form the cluster.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade