Skip to content
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

Filter Tag doesn't work #1018

Open
ailicic opened this issue Jan 21, 2025 · 0 comments
Open

Filter Tag doesn't work #1018

ailicic opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ailicic
Copy link

ailicic commented Jan 21, 2025

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.

@ailicic ailicic added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant