instrumenta / instrumenta/kubeval

Kubeval doesn't work correctly with xargs

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Go
Stars
3.2k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

`kubeval` incorrectly reads from stdin when used with `xargs`. Here's an example:

```
$ echo "foo.txt" > files.txt
$ xargs kubeval < files.txt
standard input appears to be an empty document
```

Here's a workaround: `xargs -I m sh -c 'kubeval m < /dev/stdin' < files.txt`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.