Skip to content

Stateless rollback handlers

Context

The actions framework can't save pointers to the different structures saved in the state (Check #54). Rollback handlers depend on those saved data structures.

Change

This MR changes how rollback handlers are being used. It includes different rollback handlers for launching instances, pods and services using application-specific configuration that allow us to avoid depend on the saved data in the state.

Other information

The problem with this solution is that it introduces a lot of duplicated code.

Additional documentation

Edited by Marcos Huck

Merge request reports