Skip to content

Commit 3e20ef0

Browse files
committed
OCPBUGS-10984: Document the --skip-pruning oc-mirror flag
1 parent 065c22d commit 3e20ef0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

modules/oc-mirror-command-reference.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ The following tables describe the `oc mirror` subcommands and flags:
9292
|`--skip-missing`
9393
|If an image is not found, skip it instead of reporting an error and aborting execution. Does not apply to custom images explicitly specified in the image set configuration.
9494

95+
|`--skip-pruning`
96+
|Disable automatic pruning of images from the target mirror registry.
97+
9598
|`--skip-verification`
9699
|Skip digest verification.
97100

modules/oc-mirror-updating-registry-about.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ If there are {product-title} releases or Operator versions that you no longer ne
3434
====
3535
If there are no new or updated images to mirror, the excluded images are not pruned from the target mirror registry. Additionally, if an Operator publisher removes an Operator version from a channel, the removed versions are pruned from the target mirror registry.
3636
====
37+
38+
To disable automatic pruning of images from the target mirror registry, pass the `--skip-pruning` flag to the `oc mirror` command.

0 commit comments

Comments
 (0)