From fd1c03830377a92c65fb8000edca28170e7c4a6d Mon Sep 17 00:00:00 2001 From: Leon Kiefer Date: Sun, 28 Mar 2021 21:06:12 +0200 Subject: [PATCH] Updated automation migration guide filter tags crd Signed-off-by: Leon Kiefer --- docs/guides/flux-v1-automation-migration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/flux-v1-automation-migration.md b/docs/guides/flux-v1-automation-migration.md index 80637384..e0137cd7 100644 --- a/docs/guides/flux-v1-automation-migration.md +++ b/docs/guides/flux-v1-automation-migration.md @@ -541,13 +541,13 @@ spec: order: asc ``` -The `.spec.pattern` field gives a regular expression that a tag must match to be included. The -`.spec.extract` field gives a replacement pattern that can refer back to capture groups in the +The `.spec.filterTags.pattern` field gives a regular expression that a tag must match to be included. The +`.spec.filterTags.extract` field gives a replacement pattern that can refer back to capture groups in the filter pattern. The extracted values are sorted to find the selected image tag. In this case, the timestamp part of the tag will be extracted and sorted numerically in ascending order. See [the reference docs][imagepolicy-ref] for more examples. -Once you have made sure you have image tags and an `ImagePolicy` that works, jump ahead to [Checking +Once you have made sure you have image tags and an `ImagePolicy`, jump ahead to [Checking the ImagePolicy works](#checking-that-the-image-policy-works). ### How to use SemVer image tags