Skip to content

Commit 7fb0237

Browse files
authored
Merge pull request #93637 from Vaishali-gif-rh/CNV-43159
#CNV-43159_how_to_detect
2 parents cd1eda2 + 2d29b1a commit 7fb0237

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/virt-deprecated-tasks.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-deprecated-tasks.web.adoc_{context}"]
7+
= Removing deprecated or unused resources
8+
9+
You can clean up deprecated or unused resources associated with the {pipelines-title} Operator.
10+
11+
.Procedure
12+
13+
* Remove any remaining {pipelines-shortname} resources from the cluster by running the following command:
14+
+
15+
[source,terminal]
16+
----
17+
$ oc delete clusterroles,rolebindings,serviceaccounts,configmaps,pipelines,tasks \
18+
--selector 'app.kubernetes.io/managed-by=ssp-operator' \
19+
--selector 'app.kubernetes.io/component in (tektonPipelines,tektonTasks)' \
20+
--selector 'app.kubernetes.io/name in (tekton-pipelines,tekton-tasks)' \
21+
--ignore-not-found \
22+
--all-namespaces
23+
----
24+
+
25+
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.

virt/managing_vms/virt-managing-vms-openshift-pipelines.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9+
910
link:https://docs.openshift.com/pipelines/latest/about/understanding-openshift-pipelines.html[{pipelines-title}] is a Kubernetes-native CI/CD framework that allows developers to design and run each step of the CI/CD pipeline in its own container.
1011

1112
By using {pipelines-shortname} tasks and the example pipeline, you can do the following:
@@ -43,6 +44,9 @@ include::modules/virt-running-ssp-pipeline-web.adoc[leveloffset=+2]
4344

4445
include::modules/virt-running-ssp-pipeline-cli.adoc[leveloffset=+2]
4546

47+
include::modules/virt-deprecated-tasks-web.adoc[leveloffset=+1]
48+
49+
4650
[role="_additional-resources"]
4751
[id="additional-resources_virt-managing-vms-openshift-pipelines"]
4852
== Additional resources

0 commit comments

Comments
 (0)