Skip to content

Commit 66db7f8

Browse files
author
Steven Smith
committed
Adds known limitation when working with manifest lists
1 parent 8f3c75e commit 66db7f8

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

modules/images-imagestream-import-import-mode.adoc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
[id="images-imagestream-import-import-mode_{context}"]
66
= Working with manifest lists
77

8-
You can import a single sub-manifest, or all manifests, of a manifest list when using `oc import-image` or `oc tag` CLI commands by adding the `--import-mode` flag. Refer to the commands below to create an image stream that includes a single sub-manifest or multi-architecture images.
8+
You can import a single sub-manifest, or all manifests, of a manifest list when using `oc import-image` or `oc tag` CLI commands by adding the `--import-mode` flag.
9+
10+
Refer to the commands below to create an image stream that includes a single sub-manifest or multi-architecture images.
911

1012
.Procedure
1113

@@ -40,4 +42,14 @@ $ oc import-image <multiarch-image-stream-tag> --from=<registry>/<project_name>
4042
[NOTE]
4143
====
4244
The `--import-mode=` default value is `Legacy`. Excluding this value, or failing to specify either `Legacy` or `PreserveOriginal`, imports a single sub-manifest. An invalid import mode returns the following error: `error: valid ImportMode values are Legacy or PreserveOriginal`.
43-
====
45+
====
46+
47+
[discrete]
48+
[id="images-imagestream-import-import-mode-limitations"]
49+
== Limitations
50+
51+
Working with manifest lists has the following limitations:
52+
53+
* In some cases, users might want to use sub-manifests directly. When `oc adm prune images` is run, or the `CronJob` pruner runs, they cannot detect when a sub-manifest list is used. As a result, an administrator using `oc adm prune images`, or the `CronJob` pruner, might delete entire manifest lists, including sub-manifests.
54+
+
55+
To avoid this limitation, you can use the manifest list by tag or by digest instead.

0 commit comments

Comments
 (0)