uselagoon / remote-controller

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

fix: if pod fails send failure correctly #256

Closed shreddedbacon closed 4 months ago

shreddedbacon commented 4 months ago

Checklist

If a pod fails in kubernetes with an ImagePullBackOff or CrashLoopBackOff, the controller would not pick this up and return the failure to the message queue.

This has a check for the pod failure status now so that a failure of either of these types will return to Lagoon the reason for the failure.