You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the jobs are owned by snoopyJob CR and if a completed job is deleted by hand the controller restarts it. We need a solution to control the whole lifecycle of jobs avoiding those restarts and doing the proper cleanup.
One way to accomplish this is by using the status field to register all the Jobs and CronJobs that were completed.
With that the controller should always verify if the Job is registered in the status field as completed before initializing it.
Add a finalizer to the snoopyJob CR to make sure this routine is checked if the CR is deleted and also if someone tries to delete those Jobs by hand.
The text was updated successfully, but these errors were encountered:
Currently the jobs are owned by snoopyJob CR and if a completed job is deleted by hand the controller restarts it. We need a solution to control the whole lifecycle of jobs avoiding those restarts and doing the proper cleanup.
The text was updated successfully, but these errors were encountered: