Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404 on schema json file when validate #331

Open
miguelcarloshonorio opened this issue Feb 18, 2022 · 1 comment
Open

Error 404 on schema json file when validate #331

miguelcarloshonorio opened this issue Feb 18, 2022 · 1 comment

Comments

@miguelcarloshonorio
Copy link

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

@bilbof
Copy link

bilbof commented Mar 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants