From 45edf74079fe8fda605d6b8c92e6ab115f19ed05 Mon Sep 17 00:00:00 2001 From: Ronan Hennessy Date: Thu, 30 Jan 2025 13:40:11 +0000 Subject: [PATCH] OCPBUGS-34880: Clarifying flow for disconnected with different registries for seed and target --- .../cnf-image-based-upgrade-base.adoc | 2 ++ modules/cnf-image-based-upgrade-prep.adoc | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/edge_computing/image_based_upgrade/cnf-image-based-upgrade-base.adoc b/edge_computing/image_based_upgrade/cnf-image-based-upgrade-base.adoc index bd0b981741..866fe6ae25 100644 --- a/edge_computing/image_based_upgrade/cnf-image-based-upgrade-base.adoc +++ b/edge_computing/image_based_upgrade/cnf-image-based-upgrade-base.adoc @@ -18,6 +18,8 @@ include::modules/cnf-image-based-upgrade-prep.adoc[leveloffset=+1] * xref:../../edge_computing/image_based_upgrade/preparing_for_image_based_upgrade/cnf-image-based-upgrade-prep-resources.adoc#cnf-image-based-upgrade-prep-resources[Creating ConfigMap objects for the image-based upgrade with {lcao}] +* xref:../../openshift_images/image-configuration.adoc#images-configuration-registry-mirror-configuring_image-configuration[Configuring image registry repository mirroring] + include::modules/cnf-image-based-upgrade-with-backup.adoc[leveloffset=+1] [role="_additional-resources"] diff --git a/modules/cnf-image-based-upgrade-prep.adoc b/modules/cnf-image-based-upgrade-prep.adoc index a2c2b8de1f..0809cada20 100644 --- a/modules/cnf-image-based-upgrade-prep.adoc +++ b/modules/cnf-image-based-upgrade-prep.adoc @@ -10,6 +10,18 @@ When you deploy the {lcao} on a cluster, an `ImageBasedUpgrade` custom resource After you created all the resources that you need during the upgrade, you can move on to the `Prep` stage. For more information, see the "Creating ConfigMap objects for the image-based upgrade with {lcao}" section. +[NOTE] +==== +In a disconnected environment, if the seed cluster's release image registry is different from the target cluster's release image registry, you must create an `ImageDigestMirrorSet` (IDMS) resource to configure alternative mirrored repository locations. For more information, see "Configuring image registry repository mirroring". + +You can retrieve the release registry used in the seed image by running the following command: + +[source,terminal] +---- +$ skopeo inspect docker:// | jq -r '.Labels."com.openshift.lifecycle-agent.seed_cluster_info" | fromjson | .release_registry' +---- +==== + .Prerequisites * You have created resources to back up and restore your clusters.