• Kubernetes Submit Queue's avatar
    Merge pull request #37770 from enj/enj/r/storage_decorator · 98c4c73c
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38278, 37770)
    
    Refactor REST storage to use generic defaults
    
    This removes the repetition in the REST storage builders by moving the logic to `restoptions.ApplyOptions`.  `registry.StorageWithCacher`/`generic.StorageDecorator` no longer assume that they can build the `keyFunc` for arbitrary objects.  `restoptions.ApplyOptions` uses the `registry.Store`'s `KeyFunc` for its call to `generic.StorageDecorator`.
    
    ```release-note
    Cluster federation servers have changed the location in etcd where federated services are stored, so existing federated services must be deleted and recreated. Before upgrading, export all federated services from the federation server and delete the services. After upgrading the cluster, recreate the federated services from the exported data.
    ```
    98c4c73c
Name
Last commit
Last update
..
federation-apiserver Loading commit data...
federation-controller-manager Loading commit data...
genfeddocs Loading commit data...
kubefed Loading commit data...