Skip to content

docs: Add digest update strategy #389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/configuration/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ of the [Semver library](https://github.com/Masterminds/semver) we're using.
!!!note
If you use an
[update strategy](#update-strategies)
other than `semver`, the `version_constraint` will not be have any effect
other than `semver` or `digest`, the `version_constraint` will not be have any effect
and all tags returned from the registry will be considered for update. If
you need to further restrict the list of tags to consider, see
[filtering tags](#filtering-tags)
Expand Down Expand Up @@ -117,6 +117,7 @@ Argo CD Image Updater can update images according to the following strategies:
|`semver`| Update to the tag with the highest allowed semantic version|
|`latest`| Update to the tag with the most recent creation date|
|`name` | Update to the tag with the latest entry from an alphabetically sorted list|
|`digest`| Update to the most recent pushed version of a mutable tag|

You can define the update strategy for each image independently by setting the
following annotation to an appropriate value:
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RBAC authorization on Application resources etc. are fully supported.
constraint,
* `latest`: update to the most recently created image tag,
* `name`: update to the last tag in an alphabetically sorted list
* `digest`: update to the most recent pushed version of a mutable tag
* Default support for public images on widely used container registries:
* Docker Hub (docker.io)
* Google Container Registry (gcr.io)
Expand Down Expand Up @@ -92,4 +93,4 @@ discuss something, feel free to
* open an issue on our GitHub issue tracker or

* join us in the `#argo-cd-image-updater` channel on the
[CNCF slack](https://argoproj.github.io/community/join-slack/)
[CNCF slack](https://argoproj.github.io/community/join-slack/)