mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 09:17:27 +00:00
Merge pull request #1171 from Legion2/patch-1
Updated automation migration guide filter tags crd
This commit is contained in:
commit
e5066c3712
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue