Files
kubernetes/pkg/apis
Kubernetes Submit Queue 397b84205e Merge pull request #66883 from tallclair/validation
Automatic merge from submit-queue (batch tested with PRs 66351, 66883, 66156). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix coordination.Lease validation

Fix a couple issues I noticed in the coordination.Lease validation logic which copying it for a new API:

- Field path should use the json path names (`objectMeta` -> `matadata`)
- ObjectMeta should be validated on update

**Release note**:
```release-note
NONE
```
2018-08-06 07:13:18 -07:00
..
2018-07-28 07:54:17 +08:00
2018-07-28 07:54:17 +08:00
2018-07-28 07:54:17 +08:00
2018-07-28 07:54:17 +08:00