Skip to content

Commit d064598

Browse files
authored
Merge pull request #86791 from adellape/v1_disconn
OSDOCS#12433: Add disconnected support for OLM v1
2 parents 7016b34 + 2bc7465 commit d064598

17 files changed

+106
-23
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,6 +2095,8 @@ Topics:
20952095
File: managing-catalogs
20962096
- Name: Creating catalogs
20972097
File: creating-catalogs
2098+
- Name: Disconnected environment support in OLM v1
2099+
File: disconnected-catalogs
20982100
- Name: Cluster extensions
20992101
Dir: ce
21002102
Topics:

disconnected/mirroring/about-installing-oc-mirror-v2.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ toc::[]
88

99
You can run your cluster in a disconnected environment if you install the cluster from a mirrored set of {product-title} container images in a private registry. This registry must be running whenever your cluster is running.
1010

11-
Just as you can use the `oc-mirror` OpenShift CLI (`oc`) plugin, you can also use oc-mirror plugin v2 to mirror images to a mirror registry in your fully or partially disconnected environments. To download the required images from the official Red{nbsp}Hat registries, you must run oc-mirror plugin v2 from a system with internet connectivity.
11+
Just as you can use the oc-mirror OpenShift CLI (`oc`) plugin, you can also use oc-mirror plugin v2 to mirror images to a mirror registry in your fully or partially disconnected environments. To download the required images from the official Red{nbsp}Hat registries, you must run oc-mirror plugin v2 from a system with internet connectivity.
1212

1313
:FeatureName: oc-mirror plugin v2
1414
include::snippets/technology-preview.adoc[]
@@ -63,7 +63,7 @@ include::modules/oc-mirror-workflows-fully-disconnected-v2.adoc[leveloffset=+2]
6363
include::modules/oc-mirror-mirror-to-disk-v2.adoc[leveloffset=+2]
6464
include::modules/oc-mirror-disk-to-mirror-v2.adoc[leveloffset=+2]
6565

66-
// About custom resources generated by v2
66+
// About custom resources generated by oc-mirror plugin v2
6767
include::modules/oc-mirror-IDMS-ITMS-about.adoc[leveloffset=+1]
6868

6969
[role="_additional-resources"]
@@ -73,10 +73,17 @@ include::modules/oc-mirror-IDMS-ITMS-about.adoc[leveloffset=+1]
7373

7474
* xref:../../rest_api/config_apis/imagetagmirrorset-config-openshift-io-v1.adoc#imagetagmirrorset-config-openshift-io-v1[ImageTagMirrorSet]
7575

76+
* xref:../../extensions/catalogs/managing-catalogs.adoc#olmv1-about-catalogs_managing-catalogs[About catalogs in {olmv1}]
77+
7678
// Configuring your cluster to use the resources generated by oc-mirror
7779
include::modules/oc-mirror-updating-cluster-manifests-v2.adoc[leveloffset=+2]
7880

79-
Once your cluster is configured to use the resources generated by oc-mirror plugin v2, see xref:../../disconnected/mirroring/about-installing-oc-mirror-v2.adoc#next-steps_about-installing-oc-mirror-v2[Next Steps] for information about tasks that you can perform using your mirrored images.
81+
After your cluster is configured to use the resources generated by oc-mirror plugin v2, see xref:../../disconnected/mirroring/about-installing-oc-mirror-v2.adoc#next-steps_about-installing-oc-mirror-v2[Next Steps] for information about tasks that you can perform using your mirrored images.
82+
83+
[role="_additional-resources"]
84+
.Additional resources
85+
86+
* xref:../../extensions/catalogs/disconnected-catalogs.adoc#disconnected-catalogs[Disconnected environment support in {olmv1}]
8087

8188
//Delete Feature
8289
// workflows of delete feature

disconnected/mirroring/installing-mirroring-disconnected.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ include::modules/oc-mirror-disk-to-mirror.adoc[leveloffset=+3]
9696
// Configuring your cluster to use the resources generated by oc-mirror
9797
include::modules/oc-mirror-updating-cluster-manifests.adoc[leveloffset=+1]
9898

99+
[role="_additional-resources"]
100+
.Additional resources
101+
102+
* xref:../../extensions/catalogs/managing-catalogs.adoc#olmv1-adding-a-catalog-to-a-cluster_managing-catalogs[Adding a catalog to a cluster] in "Extensions"
103+
99104
// About updating your mirror registry content
100105
include::modules/oc-mirror-updating-registry-about.adoc[leveloffset=+1]
101106

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="disconnected-catalogs"]
3+
= Disconnected environment support in {olmv1}
4+
include::_attributes/common-attributes.adoc[]
5+
:context: disconnected-catalogs
6+
7+
toc::[]
8+
9+
To support cluster administrators that prioritize high security by running their clusters in internet-disconnected environments, especially for mission-critical production workloads, {olmv1-first} includes cluster extension lifecycle management functionality that works within these disconnected environments, starting in {product-title} 4.18.
10+
11+
include::modules/olmv1-about-disconnected.adoc[leveloffset=+1]
12+
13+
[role="_additional-resources"]
14+
.Additional resources
15+
* xref:../../disconnected/mirroring/installing-mirroring-disconnected.adoc#installing-mirroring-disconnected[Mirroring images for a disconnected installation using the oc-mirror plugin v1]
16+
* xref:../../disconnected/mirroring/about-installing-oc-mirror-v2.adoc#about-installing-oc-mirror-v2[Mirroring images for a disconnected installation using the oc-mirror plugin v2]

installing/installing_nutanix/installing-restricted-networks-nutanix-installer-provisioned.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Complete the following steps to complete the configuration of your cluster.
6060

6161
include::modules/olm-restricted-networks-configuring-operatorhub.adoc[leveloffset=+2]
6262
include::modules/oc-mirror-updating-restricted-cluster-manifests.adoc[leveloffset=+2]
63+
64+
[role="_additional-resources"]
65+
.Additional resources
66+
67+
* xref:../../extensions/catalogs/managing-catalogs.adoc#olmv1-adding-a-catalog-to-a-cluster_managing-catalogs[Adding a catalog to a cluster] in "Extensions"
68+
6369
include::modules/registry-configuring-storage-nutanix.adoc[leveloffset=+2]
6470

6571
include::modules/cluster-telemetry.adoc[leveloffset=+1]

modules/oc-mirror-IDMS-ITMS-about.adoc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44

55
:_mod-docs-content-type: CONCEPT
66
[id="oc-mirror-custom-resources-v2_{context}"]
7-
= About custom resources generated by v2
7+
= About custom resources generated by oc-mirror plugin v2
88

99
// Should sentence below say "to which a digest or tag refers"?
1010

11-
With oc-mirror plugin v2, `ImageDigestMirrorSet` (IDMS) resources are generated by default if at least one image of the image set is mirrored by digest.
12-
`ImageTagMirrorSet` (ITMS) resources are generated if at least one image from the image set is mirrored by tag.
11+
The oc-mirror plugin v2 automatically generates the following custom resources:
1312

14-
Operator Lifecycle Manager (OLM) uses the `CatalogSource` resource to retrieve information about the available Operators in the mirror registry.
13+
`ImageDigestMirrorSet` (IDMS):: Handles registry mirror rules when using image digest pull specifications. Generated if at least one image of the image set is mirrored by digest.
1514

16-
The OpenShift Update Service uses the `UpdateService` resource to provide update graph data to the disconnected environment.
15+
`ImageTagMirrorSet` (ITMS):: Handles registry mirror rules when using image tag pull specifications. Generated if at least one image from the image set is mirrored by tag.
16+
17+
`CatalogSource`:: Retrieves information about the available Operators in the mirror registry. Used by {olmv0-first}.
18+
19+
`ClusterCatalog`:: Retrieves information about the available cluster extensions (which includes Operators) in the mirror registry. Used by {olmv1}.
20+
21+
`UpdateService`:: Provides update graph data to the disconnected environment. Used by the OpenShift Update Service.

modules/oc-mirror-disk-to-mirror.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can use the oc-mirror plugin to mirror the contents of a generated image set
1212
.Prerequisites
1313

1414
* You have installed the OpenShift CLI (`oc`) in the disconnected environment.
15-
* You have installed the `oc-mirror` CLI plugin in the disconnected environment.
15+
* You have installed the oc-mirror CLI plugin in the disconnected environment.
1616
* You have generated the image set file by using the `oc mirror` command.
1717
* You have transferred the image set file to the disconnected environment.
1818
// TODO: Confirm prereq about not needing a cluster, but need pull secret misc

modules/oc-mirror-dry-run.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can use oc-mirror to perform a dry run, without actually mirroring any image
1414

1515
* You have access to the internet to obtain the necessary container images.
1616
* You have installed the OpenShift CLI (`oc`).
17-
* You have installed the `oc-mirror` CLI plugin.
17+
* You have installed the oc-mirror CLI plugin.
1818
* You have created the image set configuration file.
1919
2020
.Procedure

modules/oc-mirror-imageset-config-parameters-v2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Example: `registry.redhat.io/ubi8/ubi:latest`
7878
Example: `docker.io/library/alpine`
7979

8080
|`mirror.helm`
81-
|The helm configuration of the image set. The `oc-mirror` plugin does not support helm charts with manually modified `values.yaml` files.
81+
|The helm configuration of the image set. The oc-mirror plugin does not support helm charts with manually modified `values.yaml` files.
8282
|Object
8383

8484
|`mirror.helm.local`

modules/oc-mirror-mirror-to-disk.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Do not delete or modify the metadata that is generated by the oc-mirror plugin.
2727

2828
* You have access to the internet to obtain the necessary container images.
2929
* You have installed the OpenShift CLI (`oc`).
30-
* You have installed the `oc-mirror` CLI plugin.
30+
* You have installed the oc-mirror CLI plugin.
3131
* You have created the image set configuration file.
3232
// TODO: Don't need a running cluster, but need some pull secrets. Sync w/ team on this
3333

0 commit comments

Comments
 (0)