From d35caa71099567ea09719d0f942e9ef99521f0ca Mon Sep 17 00:00:00 2001 From: Lisa Pettyjohn Date: Thu, 9 Oct 2025 14:01:01 -0400 Subject: [PATCH] OSDOCS-15543#Improved environment variable parsing for ImagePaths --- modules/oc-mirror-imageset-config-parameters-v2.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/oc-mirror-imageset-config-parameters-v2.adoc b/modules/oc-mirror-imageset-config-parameters-v2.adoc index 32b814381e8e..2cea8da71ddc 100644 --- a/modules/oc-mirror-imageset-config-parameters-v2.adoc +++ b/modules/oc-mirror-imageset-config-parameters-v2.adoc @@ -143,7 +143,12 @@ repositories: ==== `oc-mirror` detects and mirrors container images from the helm chart by searching well-known paths. You can also specify custom paths using this field. ==== -|Array of string. For example: `"- {.spec.template.spec.custom[*].image}"`. ++ +[NOTE] +==== +Operand images, dynamically deployed by operator controllers at runtime, are typically referenced by environment variables within the controller's Deployment template. Before {product-title} 4.20, while `oc-mirror` could access these environment variables, it attempted to mirror all values, including non-image references, for example, log levels, leading to failures. Now {product-title} identifies and mirrors only the container images referenced in these environment variables. +==== +|Array of string. For example: `"- {.spec.template.spec.custom[*].image}"`. endif::microshift[] |`mirror.operators` @@ -508,4 +513,4 @@ The default is `ocp` |Boolean The default value is `false` endif::microshift[] -|=== +|=== \ No newline at end of file