uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

chore: try to retain existing build information when cancelling #211

Closed shreddedbacon closed 1 year ago

shreddedbacon commented 1 year ago

Checklist

When cancelling a build via the API, the controller will try and collect any information it can about a build if the information still exists in the remote cluster. This could be a build pod, or the lagoon-build resource itself depending on which exists.

As much information from either of these two should be retrieved when possible and sent back to the api so that the API can try to be correct.