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

kubeconfig as a schema #11

Open
finchd opened this issue Sep 11, 2018 · 0 comments
Open

kubeconfig as a schema #11

finchd opened this issue Sep 11, 2018 · 0 comments

Comments

@finchd
Copy link

finchd commented Sep 11, 2018

I was looking for a kubeconfig validator when I rediscovered the kubeval tool.
Kubeval tries to download schema from GitHub matching the apiVersion and kind from this repo, so running kubeval ~/.kube/config results in:

$ kubeval ~/.kube/config
1 error occurred:
        * Problem loading schema from the network at https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/master-standalone/config.json: Could not
 read schema from HTTP, response status is 404 Not Found

Since it probably isn't in the OpenAPI definitions, are you willing to add "kind: Config" as a type, at least to master-standalone?

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

1 participant