Skip to content

Commit 4623c3f

Browse files
committed
BZ#2075129 and others: Legacy install/upgrade of v1.7.1
1 parent ae562b7 commit 4623c3f

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

_attributes/common-attributes.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ endif::[]
6262
:mtc-short: MTC
6363
:mtc-full: Migration Toolkit for Containers
6464
:mtc-version: 1.7
65+
:mtc-version-z: 1.7.1
6566
:mtc-legacy-version: 1.5
66-
:mtc-legacy-version-z: 1.5.3
67+
:mtc-legacy-version-z: 1.5.5
6768
// builds (Valid only in 4.11 and later)
6869
:builds-v2title: Builds for Red Hat OpenShift
6970
:builds-v2shortname: OpenShift Builds v2

modules/migration-installing-legacy-operator.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,41 @@ $ sudo podman login registry.redhat.io
4242
----
4343

4444
. Download the `operator.yml` file:
45+
46+
.. For the stable version, enter the following command:
4547
+
4648
[source,terminal,subs="attributes+"]
4749
----
4850
$ sudo podman cp $(sudo podman create \
4951
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-version-z}):/operator.yml ./
5052
----
5153

54+
.. For the latest version, enter the following command:
55+
+
56+
[source,terminal,subs="attributes+"]
57+
----
58+
$ sudo podman cp $(sudo podman create \
59+
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version-z}):/operator.yml ./
60+
----
61+
5262
. Download the `controller.yml` file:
63+
64+
.. For the stable version, enter the following command:
5365
+
5466
[source,terminal,subs="attributes+"]
5567
----
5668
$ sudo podman cp $(sudo podman create \
5769
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-version-z}):/controller.yml ./
5870
----
5971

72+
.. For the latest version, enter the following command:
73+
+
74+
[source,terminal,subs="attributes+"]
75+
----
76+
$ sudo podman cp $(sudo podman create \
77+
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version-z}):/controller.yml ./
78+
----
79+
6080
ifdef::installing-restricted-3-4,installing-mtc-restricted[]
6181
. Obtain the Operator image mapping by running the following command:
6282
+
@@ -92,7 +112,7 @@ containers:
92112
<2> Specify your mirror registry.
93113
endif::[]
94114

95-
. Log in to your {product-title} 3 cluster.
115+
. Log in to your {product-title} source cluster.
96116

97117
ifdef::installing-3-4,installing-mtc[]
98118
. Verify that the cluster can authenticate with `registry.redhat.io`:

modules/migration-migrating-on-prem-to-cloud.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ A service created on the destination cluster exposes the source cluster's API to
2727

2828
. Install the `crane` utility:
2929
+
30-
[source,terminal,subs="+quotes"]
30+
[source,terminal,subs=attributes+]
3131
----
32-
$ podman cp $(podman create registry.redhat.io/rhmtc/openshift-migration-controller-rhel8:v1.7.0):/crane ./
32+
$ podman cp $(podman create registry.redhat.io/rhmtc/openshift-migration-controller-rhel8:v{mtc-version-z}):/crane ./
3333
----
3434
. Log in remotely to a node on the source cluster and a node on the destination cluster.
3535

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,23 @@ $ sudo podman login registry.redhat.io
3232
----
3333

3434
. Download the `operator.yml` file:
35+
36+
.. For the stable version, enter the following command:
3537
+
3638
[source,terminal,subs="attributes+"]
3739
----
3840
$ sudo podman cp $(sudo podman create \
3941
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-version-z}):/operator.yml ./
4042
----
4143

44+
.. For the latest version, enter the following command:
45+
+
46+
[source,terminal,subs="attributes+"]
47+
----
48+
$ sudo podman cp $(sudo podman create \
49+
registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version-z}):/operator.yml ./
50+
----
51+
4252
. Replace the {mtc-full} Operator:
4353
+
4454
[source,terminal]

0 commit comments

Comments
 (0)