Skip to content

Commit 4deeb5c

Browse files
authored
docs: Name strategy regexp in example need to be corrected (argoproj-labs#534)
Name strategy among Update strategies, have its example have a wrong regexp. Need correction to match format mentioned in last line `YYYY-MM-DD`. Current one is this format YYYY-MMDD (which is not what, doc wish to show)
1 parent e08c180 commit 4deeb5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basics/update-strategies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,15 @@ for update, you will need additional configuration. For example,
278278
```yaml
279279
argocd-image-updater.argoproj.io/image-list: myimage=some/image
280280
argocd-image-updater.argoproj.io/myimage.update-strategy: name
281-
argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}[0-9]{2}$
281+
argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}-[0-9]{2}$
282282
```
283283

284284
or
285285

286286
```yaml
287287
argocd-image-updater.argoproj.io/image-list: myimage=some/image
288288
argocd-image-updater.argoproj.io/myimage.update-strategy: alphabetical
289-
argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}[0-9]{2}$
289+
argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}-[0-9]{2}$
290290
```
291291

292292
would only consider tags that match a given regular expression for update. In

0 commit comments

Comments
 (0)