Open JeremyMarshall opened 4 years ago
Or create a docker image of all this suitable for a multistage docker build :)
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.
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
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?