kubernetes/pkg/registry/batch/job
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
..
storage Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
doc.go
strategy_test.go Remove unreachable warning on volume name dup 2023-06-07 17:14:49 -07:00
strategy.go remove tracking annotation from validation and webhooks 2023-04-26 17:16:05 +00:00