argocd-image-updater
argocd-image-updater copied to clipboard
Filter Tag doesn't work
We are using ArgoCD and Argo Image Updater on AKS cluster and everything looks perfect except the fact that I'm unable to force Argo Image Updater to filter only specific tags (In my case only tags that have SNAPSHOT in it's name)
These are annotations that were added in Application configuration:
"argocd-image-updater.argoproj.io/git-branch" = "main"
"argocd-image-updater.argoproj.io/image-list" = "rtm=<redacted>.azurecr.io/rtm"
"argocd-image-updater.argoproj.io/rtm.filter-tag" = "^.*SNAPSHOT.*$"
"argocd-image-updater.argoproj.io/rtm.pull-secret" = "pullsecret:argo/acr-credentials"
"argocd-image-updater.argoproj.io/write-back-method" = "git"
I even tried to use regexp: ^.*SNAPSHOT.*$ as a value of argocd-image-updater.argoproj.io/rtm.filter-tag but no luck, Argo Image Updater is always pulling the latest tag whatever I set. I also tried with annotation argocd-image-updater.argoproj.io/rtm.allow-tags but I'm getting the same results.
When checking Argo Image Updater pod logs it just says that it detected new image and it's updating SNAPSHOT version of image with the latest one.
Based on documentation I'm not missing anything but again maybe someone had the same issue and there is some additional annotation that needs to be added. I just wanna note that ArgoCD and Argo Image updater does work , the only thing that doesn't work (but it's crucial for project) is ability to make Argo Image Updater filter only specific tags.