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

Add option to ignore SSL error when downloading schemas #197

Closed
johnowl opened this issue Nov 19, 2019 · 2 comments · Fixed by #198
Closed

Add option to ignore SSL error when downloading schemas #197

johnowl opened this issue Nov 19, 2019 · 2 comments · Fixed by #198

Comments

@johnowl
Copy link

johnowl commented Nov 19, 2019

I'm behind a corporate proxy and I receive an error when try to use kubeval, it would be nice if the tool had an option to disable SSL verification, like wget --no-check-certificate or curl -I option.

$ kubeval deployment.yaml kubernetes-deployment.yaml: Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/deployment-apps-v1beta2.json: Get https://kubernetesjsonschema.dev/master-standalone/deployment-apps-v1beta2.json: x509: certificate signed by unknown authority

@romankor
Copy link

i got that to run by

kubeval --additional-schema-locations https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/

@jnmcfly
Copy link

jnmcfly commented Apr 8, 2020

or in case of using apline just apk update \ && apk add ca-certificates \ && rm -rf /var/cache/apk/*

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

Successfully merging a pull request may close this issue.

3 participants