Skip to content

Commit

Permalink
fix: delete daemonset's pod in leaf node
Browse files Browse the repository at this point in the history
Signed-off-by: renxiangyu <[email protected]>
  • Loading branch information
renxiangyu committed Dec 12, 2023
1 parent 03f7523 commit 171ccca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ func (r *RootPodReconciler) SetupWithManager(mgr manager.Manager) error {
return true
}
}
if !p.DeletionTimestamp.IsZero() {
return true
}
return false
}
}
Expand Down

0 comments on commit 171ccca

Please sign in to comment.