mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
add finalizer logics to the API server and the garbage collector; handling DeleteOptions.OrphanDependents in the API server
This commit is contained in:
@@ -225,7 +225,9 @@ func IsServiceIPRequested(service *Service) bool {
|
||||
}
|
||||
|
||||
var standardFinalizers = sets.NewString(
|
||||
string(FinalizerKubernetes))
|
||||
string(FinalizerKubernetes),
|
||||
FinalizerOrphan,
|
||||
)
|
||||
|
||||
func IsStandardFinalizerName(str string) bool {
|
||||
return standardFinalizers.Has(str)
|
||||
|
||||
Reference in New Issue
Block a user