Skip to content

Commit

Permalink
Merge pull request instrumenta#7 from volaka/patch-1
Browse files Browse the repository at this point in the history
Added version argument into README.md
  • Loading branch information
yannh committed Aug 19, 2021
2 parents acf735c + 0564a5d commit c085e32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -31,6 +31,12 @@ $ kubeval --strict --schema-location https://raw.githubusercontent.com/yannh/kub
PASS - deployment.yaml contains a valid Deployment
```

To run `kubeval` against a specific Kubernetes version, pass the `-v` argument
```sh
$ kubeval -v 1.19.8 -s https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master ingress.yaml
PASS - ingress.yaml contains a valid Ingress (ingress)
```

## Building the schemas yourself

The tooling for generating these schemas is [a fork](https://github.com/yannh/openapi2jsonschema)
Expand Down

0 comments on commit c085e32

Please sign in to comment.