mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
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: Monis Khan <mkhan@redhat.com> cc @liggitt @soltysh for review **Release note**: ``` NONE ``` |
||
|---|---|---|
| .. | ||
| componentstatus | ||
| configmap | ||
| endpoint | ||
| event | ||
| limitrange | ||
| namespace | ||
| node | ||
| persistentvolume | ||
| persistentvolumeclaim | ||
| pod | ||
| podtemplate | ||
| rangeallocation | ||
| replicationcontroller | ||
| resourcequota | ||
| rest | ||
| secret | ||
| service | ||
| serviceaccount | ||
| OWNERS | ||