Commit eceab04b authored by Andrea Galbusera's avatar Andrea Galbusera

fix algo in container registry expiration policy docs

Step 7 of the algorithm describes the expiration interval feature. This is
supposed to select tags to be kept (the algo is removing tags from list of
candidates for deletion). Then it should say "keep tags more recent
than the older_than value" instead of "older than".
parent f64eaae4
......@@ -513,7 +513,7 @@ then goes through a process of excluding tags from it until only the ones to be
1. Excludes any tags that do not have a manifest (not part of the options).
1. Orders the remaining tags by `created_date`.
1. Excludes from the list the N tags based on the `keep_n` value (Number of tags to retain).
1. Excludes from the list the tags older than the `older_than` value (Expiration interval).
1. Excludes from the list the tags more recent than the `older_than` value (Expiration interval).
1. Excludes from the list any tags matching the `name_regex_keep` value (Images to preserve).
1. Finally, the remaining tags in the list are deleted from the Container Registry.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment