4장. Using Argo CD Image Updater
You can use the Argo CD Image Updater to automatically update container image versions for workloads managed by Argo CD. The Image Updater monitors container registries for new image versions and updates Argo CD applications when new versions are found that match user-defined constraints.
4.1. About Argo CD Image Updater 링크 복사링크가 클립보드에 복사되었습니다!
Argo CD Image Updater automatically updates container image versions for workloads managed by Argo CD. It monitors container registries for new image tags that match configured version constraints and updates applications through Argo CD.
In the Red Hat OpenShift GitOps Operator, Argo CD Image Updater is provided as a productized controller that you enable through the Argo CD custom resource.
The Argo CD Image Updater controller runs a reconciliation loop that continuously watches configured Argo CD applications and queries container registries for newer image versions. When a qualifying new version is discovered, the controller instructs Argo CD to update the application. You define which images to track and what version constraints to enforce by creating ImageUpdater custom resources.
Depending on the Argo CD application sync policy, updated images are either deployed automatically or marked as out of sync for manual approval.
The Image Updater provides the following capabilities:
Image selection and update behavior
- Semantic version constraints, newest-build strategy, alphabetical sorting, and SHA256 digest tracking
- Tag filtering using regular expressions and glob patterns
Application support
- Helm and Kustomize applications
Persistence and Git workflows
- Direct API write-back to Argo CD Application resources
- Git commits to configuration repositories
- Pull requests and merge requests for approval workflows
Registry integration
- Docker Hub, Red Hat Quay, GitHub Container Registry, GitLab Container Registry, Google Container Registry, Azure Container Registry, JFrog Artifactory, and Docker Registry v2 API-compatible registries
- Authentication using Kubernetes secrets, pull secrets, environment variables, and external scripts
- Webhooks for immediate updates from Docker Hub, GitHub Container Registry, Quay, and Harbor
Observability
-
Status conditions (
Ready,Reconciling,Error) - Matched application and image counts
- Update history
Argo CD Image Updater has the following limitations:
- Applications must be managed by Argo CD. Standalone Kubernetes workloads are not supported.
- Only Kustomize-rendered and Helm-rendered manifests are supported. Helm charts must expose image tag parameters for the Argo CD Image Updater controller to modify.
- Image pull secrets must exist in the same cluster where the Argo CD Image Updater controller runs.