1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/oc-mirror-restricted-fields.adoc

39 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * installing/disconnected_install/installing-mirroring-disconnected-v2.adoc
// * updating/updating_a_cluster/updating_disconnected_cluster/mirroring-image-repository.adoc
:_mod-docs-content-type: CONCEPT
[id="oc-mirror-restricted-fields_{context}"]
= Restrictions on modifying resources that are generated by the oc-mirror plugin
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.
The following table lists the resources and their fields that must remain unchanged:
.Fields that must not be modified in the resources generated by oc-mirror
[cols="2a,4a", options="header"]
|===
|Resource |Fields that must not be changed
|`CatalogSource`
|`apiVersion`, `kind`, `spec.image`
|`ClusterCatalog`
|`apiVersion`, `kind`, `spec.source.image.ref`
|`ImageDigestMirrorSet`
|`apiVersion`, `kind`, `spec.imageDigestMirrors`
|`ImageTagMirrorSet`
|`apiVersion`, `kind`, `spec.imageTagMirrors`
|Signature `ConfigMap`
|`apiVersion`, `kind`, `metadata.namespace`, `binaryData`
|`UpdateService`
|`apiVersion`, `kind`, `spec.graphDataImage`, `spec.releases`
|===
For more information about these resources, see the OpenShift API documentation for `CatalogSource`, `ImageDigestMirrorSet`, and `ImageTagMirrorSet`.