Skip to content

Commit 3723e9e

Browse files
authored
Merge pull request #57896 from bergerhoffer/OCPBUGS-10984
OCPBUGS-10984: Document the --skip-pruning oc-mirror flag
2 parents aa8520b + 3e20ef0 commit 3723e9e

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
@@ -95,6 +95,9 @@ The following tables describe the `oc mirror` subcommands and flags:
9595
|`--skip-missing`
9696
|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.
9797

98+
|`--skip-pruning`
99+
|Disable automatic pruning of images from the target mirror registry.
100+
98101
|`--skip-verification`
99102
|Skip digest verification.
100103

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)