uselagoon / remote-controller

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

Check if namespace is being deleted #79

Closed shreddedbacon closed 2 years ago

shreddedbacon commented 3 years ago

If a namespace is being deleted, don't try and create the build for this environment and fail the build (it won't work anyway, so failing it straight away is the same thing)

On the failure, we can inject a log entry with some potential debugging information.