Skip to content

Commit fe06805

Browse files
authored
Merge pull request #78506 from sr1kar99/36470-subscription-name-update
2 parents 01bb340 + 7b8840a commit fe06805

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

modules/multi-arch-uninstalling-using-cli.adoc

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,42 @@ You must delete the `ClusterPodPlacementConfig` object before uninstalling the M
2121
2222
.Procedure
2323

24-
. Get the `currentCSV` value for the Multiarch Tuning Operator by running the following command:
24+
. Get the `Subscription` object name for the Multiarch Tuning Operator by running the following command:
2525
+
2626
[source,terminal]
2727
----
28-
$ oc get subscription.operators.coreos.com multiarch-tuning-operator -n <namespace> -o yaml | grep currentCSV <1>
28+
$ oc get subscription.operators.coreos.com -n <namespace> <1>
2929
----
3030
<1> Replace `<namespace>` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator.
3131
+
3232
.Example output
3333
[source,terminal]
3434
----
35+
NAME PACKAGE SOURCE CHANNEL
36+
openshift-multiarch-tuning-operator multiarch-tuning-operator redhat-operators tech-preview
37+
----
38+
39+
. Get the `currentCSV` value for the Multiarch Tuning Operator by running the following command:
40+
+
41+
[source,terminal]
42+
----
43+
$ oc get subscription.operators.coreos.com <subscription_name> -n <namespace> -o yaml | grep currentCSV <1>
44+
----
45+
<1> Replace `<subscription_name>` with the `Subscription` object name. For example: `openshift-multiarch-tuning-operator`. Replace `<namespace>` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator.
46+
+
47+
.Example output
48+
[source,terminal]
49+
----
3550
currentCSV: multiarch-tuning-operator.v0.9.0
3651
----
3752

3853
. Delete the `Subscription` object by running the following command:
3954
+
4055
[source,terminal]
4156
----
42-
$ oc delete subscription.operators.coreos.com openshift-multiarch-tuning-operator -n <namespace> <1>
57+
$ oc delete subscription.operators.coreos.com <subscription_name> -n <namespace> <1>
4358
----
44-
<1> Replace `<namespace>` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator.
59+
<1> Replace `<subscription_name>` with the `Subscription` object name. Replace `<namespace>` with the name of the namespace where you want to uninstall the Multiarch Tuning Operator.
4560
+
4661
.Example output
4762
[source,terminal]

0 commit comments

Comments
 (0)