Skip to content

Commit 94a8bc6

Browse files
author
Steven Smith
committed
Adds a small procedure to completely remove CSO by deleting the CRD
1 parent a162a09 commit 94a8bc6

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

modules/removing-cso-operator.adoc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * security/pod-vulnerability-scan.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="uninstalling-container-security-operator_{context}"]
7+
= Uninstalling the {rhq-cso}
8+
9+
To uninstall the Container Security Operator, you must uninstall the Operator and delete the `imagemanifestvulns.secscan.quay.redhat.com` custom resource definition (CRD).
10+
11+
.Procedure
12+
13+
. On the {product-title} web console, click *Operators* -> *Installed Operators*.
14+
15+
. Click the menu {kebab} of the Container Security Operator.
16+
17+
. Click *Uninstall Operator*.
18+
19+
. Confirm your decision by clicking *Uninstall* in the popup window.
20+
21+
. Use the CLI to delete the `imagemanifestvulns.secscan.quay.redhat.com` CRD.
22+
23+
.. Remove the `imagemanifestvulns.secscan.quay.redhat.com` custom resource definition by entering the following command:
24+
+
25+
[source,terminal]
26+
----
27+
$ oc delete customresourcedefinition imagemanifestvulns.secscan.quay.redhat.com
28+
----
29+
+
30+
.Example output
31+
+
32+
[source,terminal]
33+
----
34+
customresourcedefinition.apiextensions.k8s.io "imagemanifestvulns.secscan.quay.redhat.com" deleted
35+
----

security/pod-vulnerability-scan.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ include::modules/security-pod-scan-cso-using.adoc[leveloffset=+1]
2727

2828
//
2929
include::modules/security-pod-scan-query-cli.adoc[leveloffset=+1]
30+
include::modules/removing-cso-operator.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)