ImageDeploymentVerification CRD #3241
-
While asking a question in Slack, we realized that we can't really get a handle on an image change via the ImageRepository -> ImagePolicy -> ImageUpdateAutomation -> GitRepository I enabled info notifications for everything, and just watched... and I was never alerted of a change in image tag. The closest you get is GitRepository which shows the commit that triggers an image build, but then is quickly shadowed by the commit from ImageUpdateAutomation. ImagePolicy is the only thing that shows image tags, but it's kind of just noise since it alerts regardless of change - just most recent version detected. I'd proposed that we create an ImageDeploymentVerification CRD that runs whenever the image of a Deployment changes. Having a handle on the change (and ultimately successful application) of a Deployment feels like the only useful thing to see info on (vs error for everything else). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Please see here how to configure the commit template to display all the image tags that were patched in Git: https://fluxcd.io/flux/components/image/imageupdateautomations/#commit-message-with-template-functions. Once you set the commit template and an alert for |
Beta Was this translation helpful? Give feedback.
Please see here how to configure the commit template to display all the image tags that were patched in Git: https://fluxcd.io/flux/components/image/imageupdateautomations/#commit-message-with-template-functions. Once you set the commit template and an alert for
ImageUpdateAutomation
you'll see in Slack what images are updated, in which files, etc.