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

Error reading from stdin in version 0.7.2 #89

Closed
colinjfw opened this issue Aug 20, 2018 · 2 comments
Closed

Error reading from stdin in version 0.7.2 #89

colinjfw opened this issue Aug 20, 2018 · 2 comments
Labels

Comments

@colinjfw
Copy link

Hi there, great project. We started seeing errors from kubeval on our build system this morning. The error was:

Could not open file -

We pipe yaml output into a docker container to evaluate it, this is our implementation in a nutshell:

cat $tmp_file | docker run -i garethr/kubeval:0.7.1 -

We changed the docker tag from latest to 0.7.1 and this fixed the image. Haven't investigated this much but it seems that something changed in 0.7.2 regarding input parsing. Let me know if you need more information!

@garethr
Copy link
Collaborator

garethr commented Aug 21, 2018

Apologies for this, I didn't actually realise that would work (with the - as the input.) This should be fixed in #90 and I'll roll out a 0.7.3 shortly.

@garethr garethr added the bug label Aug 21, 2018
garethr added a commit that referenced this issue Aug 21, 2018
Fix #89, where - didn't trigger stdin parsing
@colinjfw
Copy link
Author

Awesome, thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants