The build-deploy controller currently doesn't clean up lagoon build pods, which leads to completed build pods hanging around for a long time in project namespaces.
Ideally there would be a policy to clean up build pods - maybe keep the last 3 only? or maybe last n failed and successful?
This doesn't need to be configurable right now, just the functionality with some default parameters.
The build-deploy controller currently doesn't clean up lagoon build pods, which leads to completed build pods hanging around for a long time in project namespaces.
Ideally there would be a policy to clean up build pods - maybe keep the last 3 only? or maybe last
n
failed and successful?This doesn't need to be configurable right now, just the functionality with some default parameters.