• Kubernetes Submit Queue's avatar
    Merge pull request #44779 from enj/enj/r/etcd_default_name_copy · c90faa80
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 44837, 44779, 44492)
    
    Default ObjectNameFunc for all REST Stores
    
    All `Store`s in Kubernetes follow the same logic for determining the name of an object.  This change makes it so that `CompleteWithOptions` defaults the `ObjectNameFunc` if it is not specified.  Thus a user does not need to remember to use `ObjectMeta.Name`.  Using the wrong field as the name can lead to an object which has a name that bypasses normal object name validation.
    Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
    
    cc @liggitt @soltysh for review
    
    **Release note**:
    
    ```
    NONE
    ```
    c90faa80
Name
Last commit
Last update
..
componentstatus Loading commit data...
configmap Loading commit data...
endpoint Loading commit data...
event Loading commit data...
limitrange Loading commit data...
namespace Loading commit data...
node Loading commit data...
persistentvolume Loading commit data...
persistentvolumeclaim Loading commit data...
pod Loading commit data...
podtemplate Loading commit data...
rangeallocation Loading commit data...
replicationcontroller Loading commit data...
resourcequota Loading commit data...
rest Loading commit data...
secret Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
OWNERS Loading commit data...