Description of change
This PR introduces top-level validation for both legacy and v2 pod spec.
QA steps
- deploy a CaaS charm with
unknownfields in pod spec - now Juju will complain about the field;
Documentation changes
No
Bug reference
https://bugs.launchpad.net/juju/+bug/1851571
该提问来源于开源项目:juju/juju