-
Notifications
You must be signed in to change notification settings - Fork 126
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
Automatic App Discovery and Image Updates #2118
Comments
Hello @pieterv-icloud-com, thank you for the issue! We are not aware that any functionality was removed in 0.8.2, can you please describe your use-case in more details? Hopefully afterwards we will be able to support you |
Hi in my test case I create a ArgoCD Application as follows:
With the image updater annotations the ArgoCD Imatge Updater will scan the container registry and determine if any new images are published to the The image would typically be in the format: Which is the name of the workload and the tag is the version of the workload. If a new image is detected the ArgoCD Application will be updated with the new container image The problem is that this is not detected by the current version of the toolkit. Let me know if you require additional information |
Thank you for the info, you do please have also the following annotation in your Deployment?
if yes, does the image-updater bump also the version in the annotation? If it's possible, it would help us if you can show us the Deployment that is applied to the cluster |
Here is the deployment:
The image updater can only update the image and the tag, not the version labels |
Ok, we see the problem now. You have the following label in your deployment:
The version value is took as the version of Workload and therefore if you update the image of the Deployment and do not update the version in the label, the change is not picked up. A solution would be that you completely remove the label If the label will not be present, the version of the Workload will be determied from the tag of the image. therefore changing of the tag of the image will start a deployment of a Workload with a new version |
Thanks, let me give that a try |
Looks like it's working. So the secret is to not specifiy the version then. |
Thx for the help, will close it now. |
We use the ArgoCD Image Updater to automatically update container images from a container registry.
In v0.8.1 the toolkit would pick these changes up and create the keptn objects in the cluster. This kind of worked but had some issues as I reported here.
I tried to test this functionality with v0.8.2, but it does not appear to be working at all.
Any plans to reintroduce this?
The text was updated successfully, but these errors were encountered: