argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

ArgoCD does not consider images for arch "linux/arm64/v8"

Open arontsang opened this issue 1 year ago • 3 comments

Describe the bug linux/arm64/v8 != linux/arm64

To Reproduce Create a manifest for a multi-arch image with one of the arch being "linux/arm64/v8" Run ArgoCD image updater in k8s using the "linux/arm64" (note missing v8) image Create application using digest update against multi-arch image

Expected behavior ArgoCD pattern matches linux/arm64 with linux/arm64/v8

Version 0.13.0

arontsang avatar May 16 '24 03:05 arontsang

Work around.

Explicitly add annotation:

argocd-image-updater.argoproj.io/app.platforms: 'linux/arm64/v8'

arontsang avatar May 16 '24 03:05 arontsang

we had the same issue the problem is that the log indicates ignoring OCI manifest sha256:1b86e767c10ce0c0e0e64e183a0065d114adbd38b13638811229a19a2d23c598. Manifest platform: linux/arm64, requested: linux/arm64"

and it does not tell that actually they are different @arontsang solution worked for us as well

mehrdadpfg avatar Jun 02 '24 11:06 mehrdadpfg

Same problem in #665

jtklahti avatar Aug 30 '24 09:08 jtklahti

Please review the linked PR https://github.com/argoproj-labs/argocd-image-updater/pull/858 , and check if it fixes the problem, and if the change of behavior is acceptable.

chengfang avatar Sep 05 '24 21:09 chengfang