Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
janput opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@janput
Copy link

janput commented Jan 25, 2024

System info:

  • OS: Linux

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:

  • cat template.yaml | kube-linter lint /dev/stdin
  • kube-linter lint <(cat template.yaml)
@janisz janisz added the bug Something isn't working label Jan 26, 2024
@janisz janisz closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants