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
Mirroring Operator catalogs for use with disconnected clusters has the following prerequisites:
91
+
92
+
* Workstation with unrestricted network access.
93
+
* `podman` version 1.9.3 or later.
94
+
* If you want to filter, or _prune_, the default catalog and selectively mirror only a subset of Operators, see the following sections:
95
+
** xref:../cli_reference/opm/cli-opm-install.adoc#cli-opm-install[Installing the opm CLI]
96
+
** xref:../operators/admin/olm-restricted-networks.adoc#olm-pruning-index-image_olm-restricted-networks[Filtering a SQLite-based index image]
97
+
ifndef::openshift-origin[]
98
+
* If you want to mirror a Red Hat-provided catalog, run the following command on your workstation with unrestricted network access to authenticate with `registry.redhat.io`:
* On your mirror registry, decide which namespace to use for storing mirrored Operator content. For example, you might create an `olm-mirror` namespace.
108
+
* If your mirror registry does not have internet access, connect removable media to your workstation with unrestricted network access.
109
+
* If you are working with private registries, including `registry.redhat.io`, set the `REG_CREDS` environment variable to the file path of your registry credentials for use in later steps. For example, for the `podman` CLI:
Copy file name to clipboardExpand all lines: modules/olm-pruning-index-image.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,9 @@ ifndef::openshift-origin[]
23
23
endif::[]
24
24
25
25
[id="olm-pruning-index-image_{context}"]
26
-
= Pruning a SQLite-based index image
26
+
= Filtering a SQLite-based index image
27
27
28
-
An index image, based on the Operator bundle format, is a containerized snapshot of an Operator catalog. You can prune an index of all but a specified list of packages, which creates a copy of the source index containing only the Operators that you want.
28
+
An index image, based on the Operator bundle format, is a containerized snapshot of an Operator catalog. You can filter, or _prune_, an index of all but a specified list of packages, which creates a copy of the source index containing only the Operators that you want.
When configuring Operator Lifecycle Manager (OLM) to use mirrored content on restricted network {product-title} clusters, use this pruning method if you want to only mirror a subset of Operators from the default catalogs.
0 commit comments