instrumenta / kubernetes-json-schema

Schemas for every version of every object in every version of Kubernetes
https://kubernetesjsonschema.dev
Other
303 stars 134 forks source link

Zip file #10

Open JeremyMarshall opened 4 years ago

JeremyMarshall commented 4 years ago

Any chance you could provide a zip URL of all the schemas for us behind corporate firewalls?

Or maybe bake all the schemas into a second docker image?

JeremyMarshall commented 4 years ago

Or create a docker image of all this suitable for a multistage docker build :)

mattmahn commented 4 years ago

GitHub already provides a zip file link via the "Clone or download" button: https://github.com/instrumenta/kubernetes-json-schema/archive/master.zip (seems you can change master to any refspec you like). Note it's a 1GB zip file that unzips to 7.67GB.

There is also https://kubernetesjsonschema.dev/ which you can use to download individual schemas.

JeremyMarshall commented 4 years ago

I forked the repo and built a docker image from kubeval with some .dockerignore magic to keep the image size down https://github.com/JeremyMarshall/kubernetes-json-schema/tree/v1.15.4

and built it with docker hub tooling here https://hub.docker.com/repository/docker/jeremymarshall/kubeval