You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/installation/proc-install-rhdh-airgapped-environment-ocp-helm.adoc
+10-17Lines changed: 10 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ To install {product-short} in an air-gapped environment, you must have access to
17
17
* 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].
18
18
* You have installed the {openshift-cli} on your workstation.
19
19
* 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].
21
21
* You have an account in https://developers.redhat.com/[{rhdeveloper-name}] portal.
22
22
23
23
.Procedure
@@ -60,7 +60,7 @@ podman login registry.redhat.io
60
60
+
61
61
For more information about registry authentication, see https://access.redhat.com/RegistryAuthentication[{company-name} Container Registry Authentication].
62
62
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:
64
64
+
65
65
66
66
+
@@ -78,41 +78,34 @@ mirror:
78
78
url: https://charts.openshift.io
79
79
charts:
80
80
- name: redhat-developer-hub
81
-
version: "1.4.1"
81
+
version: "{product-version}"
82
82
----
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:
`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:
92
90
+
93
91
[source,terminal]
94
92
----
95
93
scp ./mirror-archive/mirror_seq1_000000.tar /tmp
96
94
----
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:
99
96
+
100
97
[source,terminal]
101
98
----
102
99
tar -xvf /mirror-archive/mirror_seq1_000000.tar -C /tmp
103
100
----
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:
0 commit comments