Happy to announce the first public release of Monokle CLI - an extensible open-source validation framework for Kubernetes manifests/YAMLs.
Out of the box it allows you to validate for
- YAML syntax
- Kubernetes schema compliance
- Resource links/references
- OPA Policies (security, etc)
- Custom validation rules
Monokle CLI uses an es-lint inspired configuration approach and is easily extended with custom validators that can be shared with others in our community plugins repository. It also comes with a GitHub action and real-time development/debugging support in Monokle Cloud.
Check out the announcement blogpost that walks you through all this and how to get started - or head over to the GitHub repo and start from there.
Feedback is of course appreciated - let's shift left and get those YAMLs right before they mess up our clusters!