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

[BUG] Version-checker does not pick up latest version of image from ACR #311

Open
AlexM-DO opened this issue Jan 16, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@AlexM-DO
Copy link

Describe the bug
The version checker does not pick up the latest image tag from ACR.
By default, it picks the highest number in ACR as the latest one (first row on the screenshot). If we add annotations like
enable.version-checker.io/my-container: "true" and use-sha.version-checker.io/my-container: "true" or match-regex.version-checker.io/my-container: ^\d+\.\d+\.\d+$ shows the proper version according to the sem version but not the latest one (see the second row on the screenshot).
image

These two images' metadata:
Not latest one:
image
The latest one:
image

To Reproduce
Steps to reproduce the behavior:

  1. Deploy version-checker 0.8.5
  2. Set up the connection to the ACR
  3. Annotate Pods with enable.version-checker.io/my-container: "true" and use-sha.version-checker.io/my-container: "true" or match-regex.version-checker.io/my-container: ^\d+\.\d+\.\d+$
  4. Set up the Grafana Dashboard
  5. See the wrong latest image for pod.

Expected behavior
The version-checker picks the latest image by number according to the sem version or sha based on modify date.

Environment (please complete the following information):

  • Version-Checker: 0.8.5
  • Kubernetes: 1.29.4
  • Grafana: 10.0.1
  • Victoria Metrics: 1.93.1
@AlexM-DO AlexM-DO added the bug Something isn't working label Jan 16, 2025
@davidcollom davidcollom changed the title [BUG] Version-checker does not pick up latest version of image from CR [BUG] Version-checker does not pick up latest version of image from ACR Jan 24, 2025
@Hackmeat
Copy link

having the exact same issue, did you find a fix for it?

@AlexM-DO
Copy link
Author

having the exact same issue, did you find a fix for it?

Nope, looks like a bug. Should wait for fix.

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

3 participants