Sign inSign up

stackrox/kube-linter

By stackrox

•Updated 7 months ago

KubeLinter is a linter for Kubernetes YAML files and Helm charts.

Image
5

1M+

stackrox/kube-linter repository overview

⁠KubeLinter

This is the Docker image for KubeLinter, an open source tool to lint Kubernetes YAML files and Helm charts. You can find the project at https://github.com/stackrox/kube-linter⁠.

⁠Supported tags

Any tag which is a simple semantic version (that is, of the form x.y.z) corresponds to an official release of KubeLinter. You can see the full list of releases, along with release notes, here⁠.

The latest tag will always point to the latest release; however, the use of the latest tag is not recommended except for quick experimentation.

Any tag which has a git hash at the tag corresponds to the image corresponding to the corresponding git commit in the repo. These are not supported for official use.

⁠Usage

This Docker image is a simple image that has nothing but the kube-linter binary in it. You can invoke it by running the lint command and pointing it to directories. You will need to use the -v (or --mount, if you prefer) options to mount the directories containing the files you want to lint into the container, as well as the (optional) config.

docker run -v /path/to/files/you/want/to/lint:/dir -v /path/to/config.yaml:/etc/config.yaml stackrox/kube-linter lint /dir --config /etc/config.yaml

Tag summary

Content type

Image

Digest

sha256:f2bfce787…

Size

15.8 MB

Last updated

7 months ago

docker pull stackrox/kube-linter