Enable garbage collection of custom resources
Enable garbage collection of custom resources

Enhance the garbage collector to periodically refresh the resources it
monitors (via discovery) to enable custom resource definition GC.

This implementation caches Unstructured structs for any kinds not
covered by a shared informer. The existing meta-only codec only supports
compiled types; an improved codec which supports arbitrary types could
be introduced to optimize caching to store only metadata for all
non-informer types.

Kubernetes-commit: d08dfb92c71960dba663f7a8e6465a93ddf5c560

kubernetes/apiextensions-apiserver,kubernetes/apiextensions-apiserver