Skip to content

Commit 1c5c6f8

Browse files
authored
Merge pull request #100551 from openshift-cherrypick-robot/cherry-pick-100338-to-enterprise-4.20
[enterprise-4.20] OSDOCS-15543#Improved environment variable parsing for ImagePaths
2 parents cd03a5f + c8c5689 commit 1c5c6f8

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

modules/oc-mirror-imageset-config-parameters-v2.adoc

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,20 @@ local:
9696
path: /test/podinfo-5.0.0.tar.gz
9797
----
9898

99+
|`mirror.helm.local.charts.imagePaths`
100+
|The custom path of a container image inside of the local helm chart.
101+
+
102+
[NOTE]
103+
====
104+
`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.
105+
====
106+
+
107+
[NOTE]
108+
====
109+
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. With this update, you can mirror only the container images referenced in these environment variables.
110+
====
111+
|Array of string. For example: `"- {.spec.template.spec.custom[*].image}"`.
112+
99113
|`mirror.helm.local.name`
100114
|The name of the local helm chart to mirror.
101115
|String. For example: `podinfo`.
@@ -143,7 +157,12 @@ repositories:
143157
====
144158
`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.
145159
====
146-
|Array of string. For example: `"- {.spec.template.spec.custom[*].image}"`.
160+
+
161+
[NOTE]
162+
====
163+
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. With this update, you can mirror only the container images referenced in these environment variables.
164+
====
165+
|Array of string. For example: `"- {.spec.template.spec.custom[*].image}"`.
147166
endif::microshift[]
148167

149168
|`mirror.operators`
@@ -508,4 +527,4 @@ The default is `ocp`
508527
|Boolean
509528
The default value is `false`
510529
endif::microshift[]
511-
|===
530+
|===

0 commit comments

Comments
 (0)