Skip to content

Commit f664f7f

Browse files
committed
Updated the catalog resources for oc-mirror v2
1 parent 9f8fd7c commit f664f7f

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

Diff for: disconnected/mirroring/about-installing-oc-mirror-v2.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ include::modules/oc-mirror-IDMS-ITMS-about.adoc[leveloffset=+1]
6666
[role="_additional-resources"]
6767
.Additional resources
6868

69+
* xref:../../rest_api/operatorhub_apis/catalogsource-operators-coreos-com-v1alpha1.html[CatalogSource]
70+
6971
* xref:../../rest_api/config_apis/imagedigestmirrorset-config-openshift-io-v1.adoc#imagedigestmirrorset-config-openshift-io-v1[ImageDigestMirrorSet]
7072

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

Diff for: modules/oc-mirror-IDMS-ITMS-about.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The oc-mirror plugin v2 automatically generates the following custom resources:
1818

1919
`ClusterCatalog`:: Retrieves information about the available cluster extensions (which includes Operators) in the mirror registry. Used by {olmv1}.
2020

21-
`UpdateService`:: Provides update graph data to the disconnected environment. Used by the OpenShift Update Service.
21+
`UpdateService`:: Provides update graph data to the disconnected environment. Used by the OpenShift Update Service.

Diff for: modules/oc-mirror-updating-cluster-manifests-v2.adoc

+32
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,38 @@ After you have mirrored your image set to the mirror registry, you must apply th
1414
In oc-mirror plugin v2, the IDMS and ITMS files cover the entire image set, unlike the `ImageContentSourcePolicy` (ICSP) files in oc-mirror plugin v1. Therefore, the IDMS and ITMS files contain all images of the set even if you only add new images during incremental mirroring.
1515
====
1616

17+
[IMPORTANT]
18+
====
19+
When using resources generated by the oc-mirror plugin v2 to configure your cluster, do not change specific fields. Changing them can cause errors and is not supported.
20+
21+
The following fields must *not* be changed:
22+
23+
[cols="2a,4a", options="header"]
24+
|===
25+
|Resource |Fields that must not be changed
26+
27+
|CatalogSource
28+
|`apiVersion`, `kind`, `spec.image`
29+
30+
|ClusterCatalog
31+
|`apiVersion`, `kind`, `spec.source.image.ref`
32+
33+
|ImageDigestMirrorSet
34+
|`apiVersion`, `kind`, `spec.imageDigestMirrors`
35+
36+
|ImageTagMirrorSet
37+
|`apiVersion`, `kind`, `spec.imageTagMirrors`
38+
39+
|Signature ConfigMap
40+
|`apiVersion`, `kind`, `metadata.namespace`, `binaryData`
41+
42+
|UpdateService
43+
|`apiVersion`, `kind`, `spec.graphDataImage`, `spec.releases`
44+
|===
45+
46+
For more details, refer to the OpenShift API documentation for `CatalogSource`, `ImageDigestMirrorSet`, and `ImageTagMirrorSet`.
47+
====
48+
1749
.Prerequisites
1850

1951
* You have access to the cluster as a user with the `cluster-admin` role.

0 commit comments

Comments
 (0)