Skip to content

Commit

Permalink
fix(jobs): jobs termination after CP restart (#10085)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
  • Loading branch information
jakubdyszkiewicz authored and kumahq[bot] committed Apr 25, 2024
1 parent f1c8b98 commit 34107de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (r *PodStatusReconciler) SetupWithManager(mgr kube_ctrl.Manager) error {

var onlyUpdates = predicate.Funcs{
CreateFunc: func(event event.CreateEvent) bool {
return false
return true // we need it in case of CP restart
},
DeleteFunc: func(deleteEvent event.DeleteEvent) bool {
return false
Expand Down

0 comments on commit 34107de

Please sign in to comment.