instrumenta / kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions
https://kubeval.com
Other
3.16k stars 229 forks source link

Is it possible to load schema from local not from remote URL location? #67

Closed jdxyw closed 6 years ago

jdxyw commented 6 years ago

Is it possible to load schema from local not from remote URL location?

adamdecaf commented 6 years ago

@jdxyw or @garethr Was there a reason this was closed? I'd like the option to read from a local file.

garethr commented 6 years ago

I presume @jdxyw spotted this was possible, though I just realised undocumented.

It should show up in the --help but you can also see it in use here https://github.com/garethr/kubeval/blob/master/Dockerfile.offline#L18

adamdecaf commented 6 years ago

Oh, cool. file:/// works for me!