kubernetes/pkg/registry
Tim Hockin 151509fb74
Remove unreachable warning on volume name dup
Volume names are validated to be unique and always have been.  The cited
issues are all about apply getting messed up, not the aspiserver
allowing dups.

```
$ k create -f /tmp/bad.yaml
The Deployment "bad-volumes-test" is invalid: spec.template.spec.volumes[1].name: Duplicate value: "config"

$ k apply --server-side -f /tmp/bad.yaml
Error from server: failed to create typed patch object (default/bad-volumes-test; apps/v1, Kind=Deployment): .spec.template.spec.volumes: duplicate entries for key [name="config"]

$ k apply -f /tmp/bad.yaml -o json | jq '.spec.template.spec.volumes'
The Deployment "bad-volumes-test" is invalid: spec.template.spec.volumes[1].name: Duplicate value: "config"
```
2023-06-07 17:14:49 -07:00
..
admissionregistration Revert "add shortnames for mutatingwebhookconfigurations and validatingwebhookconfigurations" 2023-05-13 11:10:55 -04:00
apiserverinternal Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
apps registry: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:17:45 +02:00
authentication KEP-3325: Promote SelfSubjectReview to GA 2023-05-02 14:50:40 +02:00
authorization Ensure version "*" is passed instead of "" for all authz checks (#116937) 2023-04-25 09:06:18 -07:00
autoscaling Remove ability to re-enable serving deprecated autoscalingapiv2beta APIs 2023-04-29 16:51:48 +08:00
batch Remove unreachable warning on volume name dup 2023-06-07 17:14:49 -07:00
certificates Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
coordination Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
core registry/core/service: remove incorrect comments 2023-05-22 12:35:43 +02:00
discovery Remove ability to re-enable serving deprecated discoveryv1beta1 APIs 2023-04-30 19:21:46 +08:00
events Remove ability to re-enable serving deprecated eventv1beta1 APIs 2023-04-28 14:58:59 +08:00
flowcontrol Revert "support short name for flowschema and prioritylevelconfiguration" 2023-05-13 11:11:04 -04:00
networking Remove withdrawn feature NetworkPolicyStatus 2023-05-01 15:19:25 -03:00
node remove ability to re-enable serving deprecated versions of the runtimeclasses kind 2023-05-02 22:40:26 +08:00
policy registry: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:17:45 +02:00
rbac Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
registrytest lavalamp is taking a long break 2023-05-11 16:43:38 +00:00
resource Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
scheduling Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
storage Merge pull request #117061 from AxeZhan/duplicate_validation 2023-05-14 12:51:26 -07:00
doc.go
OWNERS Add api-machinery TL owners permissions for jpbetz 2023-05-15 11:09:54 -04:00