instrumenta / instrumenta/kubeval

Docker image doesn't support glob syntax

Open
#100 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Go
Stars
3.2k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

### Description

The docker image for kubeval doesn't expand glob syntax making it impossible to properly scan complex directory structures that have been mounted into the container.

### Expected Outcome

```sh
$ docker run -it -v $PWD/environments:/environments garethr/kubeval "/environments/**/*.yaml"
The document /environments/test1/config.configmap.yaml contains a valid ConfigMap
The document /environments/test2/config.configmap.yaml contains a valid ConfigMap
```

### Actual Outcome

```sh
$ docker run -it -v $PWD/environments:/environments garethr/kubeval "/environments/**/*.yaml"
Could not open file /environments/**/*.yaml
```

### Environment

`garethr/kubeval@sha256:6693cb13212d8bee7fd028e7f074be569c59d369d77e58fbaef231e46342aa6c`

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.