Skip to content

Commit b403862

Browse files
authored
Merge pull request #97210 from sr1kar99/13457-catalog-resources
OSDOCS#13457: Added restrictions on modifying the oc-mirror-generated resources
2 parents 5f9a3ad + b3cd564 commit b403862

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,17 @@ 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]
7274

7375
* xref:../../extensions/catalogs/managing-catalogs.adoc#olmv1-about-catalogs_managing-catalogs[About catalogs in {olmv1}]
7476

77+
// Restrictions on modifying oc-mirror-generated resources
78+
include::modules/oc-mirror-restricted-fields.adoc[leveloffset=+2]
79+
7580
// Configuring your cluster to use the resources generated by oc-mirror
7681
include::modules/oc-mirror-updating-cluster-manifests-v2.adoc[leveloffset=+2]
7782

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/disconnected_install/installing-mirroring-disconnected-v2.adoc
4+
// * updating/updating_a_cluster/updating_disconnected_cluster/mirroring-image-repository.adoc
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="oc-mirror-restricted-fields_{context}"]
8+
= Restrictions on modifying resources that are generated by the oc-mirror plugin
9+
10+
When using resources that are generated by the oc-mirror plugin v2 to configure your cluster, you must not change certain fields. Modifying these fields can cause errors and is not supported.
11+
12+
The following table lists the resources and their fields that must remain unchanged:
13+
14+
.Fields that must not be modified in the resources generated by oc-mirror
15+
[cols="2a,4a", options="header"]
16+
|===
17+
|Resource |Fields that must not be changed
18+
19+
|`CatalogSource`
20+
|`apiVersion`, `kind`, `spec.image`
21+
22+
|`ClusterCatalog`
23+
|`apiVersion`, `kind`, `spec.source.image.ref`
24+
25+
|`ImageDigestMirrorSet`
26+
|`apiVersion`, `kind`, `spec.imageDigestMirrors`
27+
28+
|`ImageTagMirrorSet`
29+
|`apiVersion`, `kind`, `spec.imageTagMirrors`
30+
31+
|Signature `ConfigMap`
32+
|`apiVersion`, `kind`, `metadata.namespace`, `binaryData`
33+
34+
|`UpdateService`
35+
|`apiVersion`, `kind`, `spec.graphDataImage`, `spec.releases`
36+
|===
37+
38+
For more information about these resources, see the OpenShift API documentation for `CatalogSource`, `ImageDigestMirrorSet`, and `ImageTagMirrorSet`.

0 commit comments

Comments
 (0)