kubernetes/pkg/registry/generic
Kubernetes Submit Queue f297ea966e Merge pull request #30838 from caesarxuchao/per-resource-orphan-behavior
Automatic merge from submit-queue

[GarbageCollector] Allow per-resource default garbage collection behavior

What's the bug:
When deleting an RC with `deleteOptions.OrphanDependents==nil`, garbage collector is supposed to treat it as `deleteOptions.OrphanDependents==true", and orphan the pods created by it. But the apiserver is not doing that.

What's in the pr:
Allow each resource to specify the default garbage collection behavior in the registry. For example, RC registry's default GC behavior is Orphan, and Pod registry's default GC behavior is CascadingDeletion.
2016-08-23 08:46:32 -07:00
..
registry Merge pull request #30838 from caesarxuchao/per-resource-orphan-behavior 2016-08-23 08:46:32 -07:00
rest Use Go canonical import paths 2016-07-16 13:48:21 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
matcher_test.go change all PredicateFunc to use SelectionPredicate 2016-08-13 10:11:35 -07:00
matcher.go optimize field.Set{} -> nil 2016-08-15 11:41:25 -07:00
options.go move new etcd storage into cacher 2016-08-12 18:40:20 -07:00
storage_decorator.go move new etcd storage into cacher 2016-08-12 18:40:20 -07:00