kubernetes-sigs/kubectl-validate

Document Overlay Schemas

alexzielenski opened this issue · 3 comments

Overlay schemas could be a very powerful tool for consumers to validate custom policies for their types. We should document how to use them for CRDs and native types

@alexzielenski can you please explain it a bit more

The tool has an option --overlay-schemas which will allow users to apply JSON patches onto the resource schemas before they are used for validation for custom behavior.

Would like for usage and examples to be documented in the README and usage in the tool help.

/assign