Skip to content

Commit bd78c7d

Browse files
Fortune-Ndlovulinfraze
authored andcommitted
updates
Signed-off-by: Fortune-Ndlovu <[email protected]>
1 parent 3f08f35 commit bd78c7d

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

modules/installation/proc-install-rhdh-airgapped-environment-ocp-helm.adoc

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To install {product-short} in an air-gapped environment, you must have access to
1717
* You have access to the {ocp-brand-name} image registry of your cluster. For more information about exposing the image registry, see the {ocp-brand-name} documentation about https://docs.redhat.com/en/documentation/openshift_container_platform/{ocp-version}/html-single/registry/index#securing-exposing-registry[Exposing the registry].
1818
* You have installed the {openshift-cli} on your workstation.
1919
* You have installed the `podman` command line tools on your workstation.
20-
* You have installed the `oc-mirror`, for more information see https://docs.openshift.com/container-platform/4.17/disconnected/mirroring/installing-mirroring-disconnected.html#installation-oc-mirror-installing-plugin_installing-mirroring-disconnected[Installing the oc-mirror OpenShift CLI plugin].
20+
* You have installed the oc-mirror {openshift-cli} plugin, for more information see https://docs.openshift.com/container-platform/4.17/disconnected/mirroring/installing-mirroring-disconnected.html#installation-oc-mirror-installing-plugin_installing-mirroring-disconnected[Installing the oc-mirror OpenShift CLI plugin].
2121
* You have an account in https://developers.redhat.com/[{rhdeveloper-name}] portal.
2222

2323
.Procedure
@@ -60,7 +60,7 @@ podman login registry.redhat.io
6060
+
6161
For more information about registry authentication, see https://access.redhat.com/RegistryAuthentication[{company-name} Container Registry Authentication].
6262

63-
. Create an `ImageSetConfiguration` ffile to specify the resources that you want to mirror. For example:
63+
. Create an `ImageSetConfiguration` file to specify the resources that you want to mirror. For example:
6464
+
6565

6666
+
@@ -78,41 +78,34 @@ mirror:
7878
url: https://charts.openshift.io
7979
charts:
8080
- name: redhat-developer-hub
81-
version: "1.4.1"
81+
version: "{product-version}"
8282
----
83-
. Initiate the mirroring process using the `ImageSetConfiguration` file. The `oc-mirror` command mirrors the specified resources as defined in the configuration file and generates a `.tar` archive containing all the mirrored resources.
83+
. Mirror the resources specified in the`ImageSetConfiguration` file by running the following command:
8484
+
8585
[source,terminal]
8686
----
8787
oc-mirror --config=mirror-config.yaml file://mirror-archive
8888
----
89-
. Transfer the generated archive (e.g.,
90-
`mirror++_++seq1++_++000000.tar`) to the air-gapped environment using
91-
`scp` or another file transfer tool.
89+
. Transfer the generated `.tar` archive file (for example, `mirror++_++seq1++_++000000.tar`) to the air-gapped environment using `scp` or another file transfer tool. For example:
9290
+
9391
[source,terminal]
9492
----
9593
scp ./mirror-archive/mirror_seq1_000000.tar /tmp
9694
----
97-
. Extract the contents of the archive into a directory before proceeding
98-
with deployment.
95+
. Extract the contents of the archive into a directory by running the following command:
9996
+
10097
[source,terminal]
10198
----
10299
tar -xvf /mirror-archive/mirror_seq1_000000.tar -C /tmp
103100
----
104-
. Deploy the Helm chart in the air-gapped environment using the `helm`
105-
command.
101+
. Deploy the Helm chart in the air-gapped environment by running the following command:
106102
+
107103
[source,terminal]
108104
----
109105
helm install rhdh ./mirror-archive/oc-mirror-workspace/src/charts/redhat-developer-hub-1.4.1.tgz --namespace rhdh --create-namespace
110106
----
111107

112108
.Verification
113-
1. Verify that all resources are successfully deployed and running:
114-
- Check the status of your deployments and pods in the cluster.
115-
2. Validate the route:
116-
- Ensure the route matches the expected URL based on the cluster's router base.
117-
- If necessary, update the route to align with your expected configuration.
118-
109+
. To verify that all resources are successfully deployed and running, check the status of your deployments and pods in the cluster.
110+
. To validate the route, ensure that the route matches the expected URL based on the router base of the cluster.
111+
.. If necessary, update the route to align with your expected configuration.

0 commit comments

Comments
 (0)