Skip to content

Commit 5260aff

Browse files
author
Steven Smith
committed
Adds update modules for OMR
1 parent 31faa78 commit 5260aff

File tree

4 files changed

+66
-19
lines changed

4 files changed

+66
-19
lines changed

installing/disconnected_install/installing-mirroring-creating-registry.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ These requirements are based on local testing results with only release images a
2929

3030
include::modules/mirror-registry-introduction.adoc[leveloffset=+1]
3131
include::modules/mirror-registry-localhost.adoc[leveloffset=+1]
32+
include::modules/mirror-registry-localhost-update.adoc[leveloffset=+1]
3233
include::modules/mirror-registry-remote.adoc[leveloffset=+1]
33-
include::modules/mirror-registry-update.adoc[leveloffset=+1]
34+
include::modules/mirror-registry-remote-host-update.adoc[leveloffset=+1]
3435
include::modules/mirror-registry-uninstall.adoc[leveloffset=+1]
3536
include::modules/mirror-registry-flags.adoc[leveloffset=+1]
3637
include::modules/mirror-registry-release-notes.adoc[leveloffset=+1]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// module included in the following assembly:
2+
//
3+
// * installing-mirroring-creating-registry.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="mirror-registry-localhost-update_{context}"]
7+
= Updating mirror registry for Red Hat OpenShift from a local host
8+
9+
This procedure explains how to update the _mirror registry for Red Hat OpenShift_ from a local host using the `upgrade` command. Updating to the latest version ensures bug fixes and security vulnerability fixes.
10+
11+
[IMPORTANT]
12+
====
13+
When updating, there is intermittent downtown of your mirror registry, as it is restarted during the update process.
14+
====
15+
16+
.Prerequisites
17+
18+
* You have installed the _mirror registry for Red Hat OpenShift_ on a local host.
19+
20+
.Procedure
21+
22+
* To upgrade the the _mirror registry for Red Hat OpenShift_ from localhost, enter the following command:
23+
+
24+
[source,terminal]
25+
----
26+
$ sudo ./mirror-registry upgrade -v
27+
----
28+
+
29+
[NOTE]
30+
====
31+
Users who upgrade the _mirror registry for Red Hat OpenShift_ with the `./mirror-registry upgrade -v` flag must include the same credentials used when creating their mirror registry. For example, if you installed the _mirror registry for Red Hat OpenShift_ with `--quayHostname <host_example_com>` and `--quayRoot <example_directory_name>`, you must include that string to properly upgrade the mirror registry.
32+
====
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// module included in the following assembly:
2+
//
3+
// * installing-mirroring-creating-registry.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="mirror-registry-remote-host-update_{context}"]
7+
= Updating mirror registry for Red Hat OpenShift from a remote host
8+
9+
This procedure explains how to update the _mirror registry for Red Hat OpenShift_ from a remote host using the `upgrade` command. Updating to the latest version ensures bug fixes and security vulnerability fixes.
10+
11+
[IMPORTANT]
12+
====
13+
When updating, there is intermittent downtown of your mirror registry, as it is restarted during the update process.
14+
====
15+
16+
.Prerequisites
17+
18+
* You have installed the _mirror registry for Red Hat OpenShift_ on a remote host.
19+
20+
.Procedure
21+
22+
* To upgrade the the _mirror registry for Red Hat OpenShift_ from a remote host, enter the following command:
23+
+
24+
[source,terminal]
25+
----
26+
$ sudo ./mirror-registry upgrade -v --targetHostname <remote_host_url> --targetUsername <user_name> -k ~/.ssh/my_ssh_key
27+
----
28+
+
29+
[NOTE]
30+
====
31+
Users who upgrade the _mirror registry for Red Hat OpenShift_ with the `./mirror-registry upgrade -v` flag must include the same credentials used when creating their mirror registry. For example, if you installed the _mirror registry for Red Hat OpenShift_ with `--quayHostname <host_example_com>` and `--quayRoot <example_directory_name>`, you must include that string to properly upgrade the mirror registry.
32+
====

modules/mirror-registry-update.adoc

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)