instrumenta / kubeval

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

Docker image #5

Closed fiunchinho closed 7 years ago

fiunchinho commented 7 years ago

Would it make sense to make travis publish a Docker image for every new release? That way it would be even easier to install and use kubeval.

garethr commented 7 years ago

@fiunchinho thanks for the suggestions. I have a local version of this I'll get up in a PR for testing soon. Do you have opinions about the interface for this?

Do you think it works to mount the files you want to test? ie.

docker run -v `pwd`:/ garethr/kubeval some-kubernetes-file.yaml

Or did you have something different/nicer in mind?

fiunchinho commented 7 years ago

I think mounting is fine.

garethr commented 7 years ago

I've put up a PR in #6, and published the resulting image to Hub. @fiunchinho if you have a moment to try that out and see if it works for you I'll merge.

I'll add more metadata and the link once we're happy with the basic image.

garethr commented 7 years ago

I've merged this and shipped an image to Hub https://hub.docker.com/r/garethr/kubeval/