Closed mavendonovanhubbard closed 2 months ago
After looking at this further I've found that the schema used by kubeconform is generated by the kubernetes project itself from the source code. https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/swagger.json
Unfortunately, the above yaml file does pass the schema provided by the kubernetes project. To quote the README of this project.
The Kubernetes controllers still perform additional server-side validations that are not part of the OpenAPI specifications.
I'm closing this issue.
Kubeconform does not detect invalid CronJobs when the restart policy is at the wrong indentation level. Here is an example invalid manifest.
I'm using the 0.6.6 brew version of kubeconform