weave-gitops
weave-gitops copied to clipboard
Allow triggering a rollback of a HelmRelease
Short description As a Developer I want to be able to rollback to a prior image tag in a HelmReleases in the UI so that I don't need to fiddle with the CLI.
I'm not sure if this is already on your roadmap. But it would be nice to be able to switch to an older image tag for a HelmRelease. This could be selected in a dropdown list. When you're switching away from the current(latest) tag, then it would be convenient to have the ImageUpdateAutomation set to suspended state so it doesn't override the selected tag again instantly.
In the past we (a joint effort across several teams in our company) enhanced the old Flux Web (which was a UI for the old Flux v1) with exactly this functionality. Please find attached a screenshot of this feature in action.

It would be great to have such functionality in weave-gitops as well. What do you think?
@spr-mweber3 thanks for sharing this idea.
It would be great to understand your scenario a little more:
- what is the reason (or reasons) you'd be looking to rollback?
- to confirm, you would see the alternative as doing
helm rollback(and I guess still suspending the flux automation to prevent reapplying a newer release?) - in this scenario, were you doing anything to manipulate the helm chart version or app version when the image changed, or was that not really a concern?
- in the UI you built previously, the list of available tags - is that coming from Flux or directly querying a registry?
Hey @sympatheticmoose, thanks for picking this up. Really good questions. I think I could answer some of them but I was only partly involved in developing this feature and it's already some time ago.
Maybe @dekinderfiets can jump in on that. I think he supported us in implementing this feature.
Additionally I'll try to gather the information you asked for within this week and prepare a detailed answer for you.
Per @bigkevmcd, we would need to go via Git for this (making it a WGE feature) or we’d need to add writability back