You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 13b5089
Browse filesBrowse the repository at this point in the historyBrowse files
The file fixtures/test_crd.yaml containing a SealedSecret was not validated against a schema
82
+
```
83
+
84
+
85
+
## Helm
86
+
87
+
Helm chart configurations generally have a reference to the source template in a comment
88
+
like so:
89
+
90
+
```
91
+
# Source: chart/templates/frontend.yam
92
+
```
93
+
94
+
When kubeval detects these comments it will report the relevant chart template files in
95
+
the output.
96
+
97
+
```
98
+
$ kubeval fixtures/multi_valid_source.yaml
99
+
The file chart/templates/primary.yaml contains a valid Service
100
+
The file chart/templates/primary.yaml contains a valid ReplicationControlle
101
+
```
102
+
76
103
77
104
## Full usage instructions
78
105
@@ -84,14 +111,18 @@ Usage:
84
111
kubeval <file> [file...] [flags]
85
112
86
113
Flags:
114
+
-d, --directories strings A comma-separated list of directories to recursively search for YAML documents
115
+
--exit-on-error Immediately stop execution when the first error is encountered
87
116
-f, --filename string filename to be displayed when testing manifests read from stdin (default "stdin")
117
+
--force-color Force colored output even if stdout is not a TTY
88
118
-h, --help help for kubeval
89
119
--ignore-missing-schemas Skip validation for resource definitions without a schema
90
120
-v, --kubernetes-version string Version of Kubernetes to validate against (default "master")
91
121
--openshift Use OpenShift schemas instead of upstream Kubernetes
92
-
--schema-location string Base URL used to download schemas. Can also be specified with the environment variable KUBEVAL_SCHEMA_LOCATION (default "https://raw.githubusercontent.com/garethr")
122
+
--schema-location string Base URL used to download schemas. Can also be specified with the environment variable KUBEVAL_SCHEMA_LOCATION (default "https://kubernetesjsonschema.dev")
123
+
--skip-kinds strings Comma-separated list of case-sensitive kinds to skip when validating against schemas
93
124
--strict Disallow additional properties not in schema
94
-
--version Display the kubeval version information and exit
0 commit comments