kubeval icon indicating copy to clipboard operation
kubeval copied to clipboard

Error 404 on schema json file when validate

Open miguelcarloshonorio opened this issue 2 years ago • 1 comments

Kubeval is thowing an error on try to validate a yaml file ERR - delivery/deployment.yaml: Failed initializing schema https://kubernetesjsonschema.dev/master-standalone/podmonitor-monitoring-v1.json: Could not read schema from HTTP, response status is 404 Not Found

miguelcarloshonorio avatar Feb 18 '22 20:02 miguelcarloshonorio

PodMonitor is a CRD installed with the Prometheus operator. Kubeval doesn't support CRDs. You could use --ignore-missing-schemas which will skip PodMonitor resources.

bilbof avatar Mar 10 '22 21:03 bilbof