• 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
..
auth Loading commit data...
client Loading commit data...
configmap Loading commit data...
discoverysummarizer Loading commit data...
evictions Loading commit data...
examples Loading commit data...
federation Loading commit data...
framework Loading commit data...
garbagecollector Loading commit data...
kubectl Loading commit data...
master Loading commit data...
metrics Loading commit data...
objectmeta Loading commit data...
openshift Loading commit data...
pods Loading commit data...
quota Loading commit data...
replicaset Loading commit data...
replicationcontroller Loading commit data...
scheduler Loading commit data...
scheduler_perf Loading commit data...
secrets Loading commit data...
serviceaccount Loading commit data...
storageclasses Loading commit data...
thirdparty Loading commit data...
volume Loading commit data...
BUILD Loading commit data...
benchmark-controller.json Loading commit data...
doc.go Loading commit data...
utils.go Loading commit data...