File tree 2 files changed +15
-1
lines changed 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,20 @@ in the Open Policy Agent documentation.
13
13
14
14
## Usage
15
15
16
+ ``` console
17
+ $ conftest --help
18
+ Test your configuration files using Open Policy Agent
19
+
20
+ Usage:
21
+ conftest <file> [file...] [flags]
22
+
23
+ Flags:
24
+ --fail-on-warn return a non-zero exit code if only warnings are found
25
+ -h, --help help for conftest
26
+ -p, --policy string directory for Rego policy files (default "policy")
27
+ --version version for conftest
28
+ ```
29
+
16
30
``` console
17
31
$ conftest deployment.yaml
18
32
testdata/deployment.yaml
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
9
9
github.com/gobwas/glob v0.2.3 // indirect
10
10
github.com/hashicorp/go-multierror v1.0.0
11
11
github.com/inconshreveable/mousetrap v1.0.0 // indirect
12
- github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e // indirect
12
+ github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e
13
13
github.com/open-policy-agent/opa v0.10.6
14
14
github.com/pkg/errors v0.8.1 // indirect
15
15
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a // indirect
You can’t perform that action at this time.
0 commit comments