summaryrefslogtreecommitdiff
path: root/docs/basics
diff options
context:
space:
mode:
authorRajesh <47947075+iamraj007@users.noreply.github.com>2023-06-08 20:16:28 +0200
committerGitHub <noreply@github.com>2023-06-08 14:16:28 -0400
commit4deeb5c4219f0af62cdb2cb9d06d360570316b6b (patch)
tree66c9a6924a5117ac984ab11508711edde5756561 /docs/basics
parente08c1807bed0b67be6159b47bde552d9829ccc34 (diff)
docs: Name strategy regexp in example need to be corrected (#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)
Diffstat (limited to 'docs/basics')
-rw-r--r--docs/basics/update-strategies.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/basics/update-strategies.md b/docs/basics/update-strategies.md
index 499e6c1..9987cd5 100644
--- a/docs/basics/update-strategies.md
+++ b/docs/basics/update-strategies.md
@@ -278,7 +278,7 @@ for update, you will need additional configuration. For example,
```yaml
argocd-image-updater.argoproj.io/image-list: myimage=some/image
argocd-image-updater.argoproj.io/myimage.update-strategy: name
-argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}[0-9]{2}$
+argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}-[0-9]{2}$
```
or
@@ -286,7 +286,7 @@ or
```yaml
argocd-image-updater.argoproj.io/image-list: myimage=some/image
argocd-image-updater.argoproj.io/myimage.update-strategy: alphabetical
-argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}[0-9]{2}$
+argocd-image-updater.argoproj.io/myimage.allow-tags: regexp:^[0-9]{4}-[0-9]{2}-[0-9]{2}$
```
would only consider tags that match a given regular expression for update. In