image-automation-controller
image-automation-controller copied to clipboard
Why does ImageUpdateAutomation run all ImagePolicies in its namespace?
As I understand from the documentation, an ImageUpdateAutomation runs all the ImagePolicies in its own namespace
Note that the ImageUpdateAutomation runs all the policies found in its namespace at the specified interval.
I have one repo for every service I have. For every service, I need to update the deployment image version when a new version of the service is available. All services are in the same namespace. I would need to have an ImageRepository, ImagePolicy, and ImageUpdateAutomation for every service.
The problem is that every ImageUpdateAutomation would be running all policies even though each ImageUpdateAutomation only cares about its own ImagePolicy. I guess that would increase the requests to the image repository unnecessarily.
Is there a solution to this problem without having to have every service in its own namespace? Am I missing something?
Thanks for the help!