stackrox / kube-linter

KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
https://docs.kubelinter.io/
Apache License 2.0
2.89k stars 231 forks source link

[BUG] - since v0.6.6 linting from stdin doesn't work anymore with the command: kube-linter lint - #702

Closed janput closed 6 months ago

janput commented 7 months ago

System info:

Describe the bug It used to be possible to run kube-linter with a command like this: cat template.yaml | kube-linter lint - Now this gives an error like so: Error: loading from path "/opt/metrics/-": lstat /opt/metrics/-: no such file or directory

There are 2 ways to get it working again: