|
| 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