uselagoon / remote-controller

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

Handle kind Job when cleaning up #139

Closed shreddedbacon closed 2 years ago

shreddedbacon commented 2 years ago

Sometimes a failed Job created by a CronJob could hold a volume preventing it from being deleted until the Job is cleared.

As part of a namespace deletion, Jobs should be removed prior to volumes being removed to ensure volumes are not held.