Open retr0h opened 5 years ago
Can you try kubeval foo.yaml --strict
?
The OpenAPI descriptions unfortunately don't contain information to make this determination I don't think. When I get a moment I'll check the actual schemas and see if it's possible to describe this in OpenAPI, if so I'll open an upstream issue.
This DaemonSet is incomplete yet kubeval validates as ok.
I would expect kubeval to report an issue, esp when not fully complete. I understand the data is valid for an update but not an initial deployment.