You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
These two images' metadata:
Not latest one:
The latest one:
To Reproduce
Steps to reproduce the behavior:
Deploy version-checker 0.8.5
Set up the connection to the ACR
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+$
Set up the Grafana Dashboard
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
The text was updated successfully, but these errors were encountered:
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
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).These two images' metadata:


Not latest one:
The latest one:
To Reproduce
Steps to reproduce the behavior:
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+$
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):
The text was updated successfully, but these errors were encountered: