mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Increase controller sync time for namespace cleanup
This commit is contained in:
@@ -105,7 +105,7 @@ func (r *REST) Delete(ctx api.Context, name string, options *api.DeleteOptions)
|
||||
}
|
||||
|
||||
func (r *StatusREST) New() runtime.Object {
|
||||
return &api.Namespace{}
|
||||
return r.store.New()
|
||||
}
|
||||
|
||||
// Update alters the status subset of an object.
|
||||
@@ -114,7 +114,7 @@ func (r *StatusREST) Update(ctx api.Context, obj runtime.Object) (runtime.Object
|
||||
}
|
||||
|
||||
func (r *FinalizeREST) New() runtime.Object {
|
||||
return &api.Namespace{}
|
||||
return r.store.New()
|
||||
}
|
||||
|
||||
// Update alters the status finalizers subset of an object.
|
||||
|
Reference in New Issue
Block a user