Skip to content

Commit 133186e

Browse files
authored
Merge pull request #50361 from RichardHoch/mtc_literal
BZ#2126531: Downstream docs show literal "mtc-legacy-version-z" instead of "1.7"
2 parents 9a67bfc + 2e07fd3 commit 133186e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/migration-upgrading-mtc-with-legacy-operator.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif::[]
2424
2525
.Procedure
2626

27-
. Log in to `registry.redhat.io` with your Red Hat Customer Portal credentials:
27+
. Log in to `registry.redhat.io` with your Red Hat Customer Portal credentials by entering the following command:
2828
+
2929
[source,terminal]
3030
----
@@ -39,43 +39,43 @@ $ sudo podman cp $(sudo podman create \
3939
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/operator.yml ./
4040
----
4141

42-
. Replace the {mtc-full} Operator:
42+
. Replace the {mtc-full} Operator by entering the following command:
4343
+
4444
[source,terminal]
4545
----
4646
$ oc replace --force -f operator.yml
4747
----
4848

49-
. Scale the `migration-operator` deployment to `0` to stop the deployment:
49+
. Scale the `migration-operator` deployment to `0` to stop the deployment by entering the following command:
5050
+
5151
[source,terminal]
5252
----
5353
$ oc scale -n openshift-migration --replicas=0 deployment/migration-operator
5454
----
5555

56-
. Scale the `migration-operator` deployment to `1` to start the deployment and apply the changes:
56+
. Scale the `migration-operator` deployment to `1` to start the deployment and apply the changes by entering the following command:
5757
+
5858
[source,terminal]
5959
----
6060
$ oc scale -n openshift-migration --replicas=1 deployment/migration-operator
6161
----
6262

63-
. Verify that the `migration-operator` was upgraded:
63+
. Verify that the `migration-operator` was upgraded by entering the following command:
6464
+
6565
[source,terminal]
6666
----
6767
$ oc -o yaml -n openshift-migration get deployment/migration-operator | grep image: | awk -F ":" '{ print $NF }'
6868
----
6969

70-
. Download the `controller.yml` file:
70+
. Download the `controller.yml` file by entering the following command:
7171
+
7272
[source,terminal,subs="attributes+"]
7373
----
7474
$ sudo podman cp $(sudo podman create \
75-
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-version-z}):/controller.yml ./
75+
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/controller.yml ./
7676
----
7777

78-
. Create the `migration-controller` object:
78+
. Create the `migration-controller` object by entering the following command:
7979
+
8080
[source,terminal]
8181
----
@@ -85,7 +85,7 @@ $ oc create -f controller.yml
8585
ifdef::upgrading-3-4[]
8686
. If you have previously added the {product-title} 3 cluster to the {mtc-short} web console, you must update the service account token in the web console because the upgrade process deletes and restores the `openshift-migration` namespace:
8787

88-
.. Obtain the service account token:
88+
.. Obtain the service account token by entering the following command:
8989
+
9090
[source,terminal]
9191
----
@@ -98,7 +98,7 @@ $ oc sa get-token migration-controller -n openshift-migration
9898
.. Click *Update cluster* and then click *Close*.
9999
endif::[]
100100

101-
. Verify that the {mtc-short} pods are running:
101+
. Verify that the {mtc-short} pods are running by entering the following command:
102102
+
103103
[source,terminal]
104104
----

0 commit comments

Comments
 (0)