9.16.4. Removing deprecated or unused resources
You can clean up deprecated or unused resources associated with the Red Hat OpenShift Pipelines Operator.
Procedure
Remove any remaining OpenShift Pipelines resources from the cluster by running the following command:
$ oc delete clusterroles,rolebindings,serviceaccounts,configmaps,pipelines,tasks \ --selector 'app.kubernetes.io/managed-by=ssp-operator' \ --selector 'app.kubernetes.io/component in (tektonPipelines,tektonTasks)' \ --selector 'app.kubernetes.io/name in (tekton-pipelines,tekton-tasks)' \ --ignore-not-found \ --all-namespacesIf the Red Hat OpenShift Pipelines Operator custom resource definitions (CRDs) have already been removed, the command may return an error. You can safely ignore this, as all other matching resources will still be deleted.