1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/virt-deprecated-tasks-web.adoc
2025-11-18 16:29:25 +01:00

27 lines
1.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * virt/virtual_machines/virt-deprecated-tasks.adoc
:_mod-docs-content-type: PROCEDURE
[id="virt-deprecated-tasks.web_{context}"]
= Removing deprecated or unused resources
[role="_abstract"]
You can clean up deprecated or unused resources associated with the {pipelines-title} Operator.
.Procedure
* Remove any remaining {pipelines-shortname} resources from the cluster by running the following command:
+
[source,terminal]
----
$ 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-namespaces
----
+
If the {pipelines-title} 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.