image-automation-controller icon indicating copy to clipboard operation
image-automation-controller copied to clipboard

Allow including the previous image tag in the commit message template

Open darkowlzz opened this issue 1 year ago • 1 comments

Discussed in https://github.com/fluxcd/flux2/discussions/3027

Originally posted by tun0 August 24, 2022 The notifications we currently have with Flux v1 (with help of fluxcloud) mention both old and new image tags.

With Flux v2, only the new image tag is mentioned.

It would be very nice if the previous tag would be made available as well in the notification object.

darkowlzz avatar Sep 01 '22 17:09 darkowlzz

Based on the discussion in https://github.com/fluxcd/image-reflector-controller/pull/311#issuecomment-1246683794 , this is not related to the image selected by the ImagePolicy, but it's about the old value being replaced by the new value in manifest file in git. An ImageUpdateAutomation notification can include the information about the old and new value in the manifest that it updated.

darkowlzz avatar Sep 14 '22 13:09 darkowlzz