mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-24 20:27:02 +00:00
update readme
This commit is contained in:
parent
31c4c4e20d
commit
0e00467469
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ $ ./bin/kubeconform -h
|
||||||
Usage of ./bin/kubeconform:
|
Usage of ./bin/kubeconform:
|
||||||
-ignore-missing-schemas
|
-ignore-missing-schemas
|
||||||
skip files with missing schemas instead of failing
|
skip files with missing schemas instead of failing
|
||||||
-kubernetes-sversion string
|
-kubernetes-version string
|
||||||
version of Kubernetes to validate against (default "1.18.0")
|
version of Kubernetes to validate against (default "1.18.0")
|
||||||
-n int
|
-n int
|
||||||
number of routines to run in parallel (default 4)
|
number of routines to run in parallel (default 4)
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@ func realMain() int {
|
||||||
var err error
|
var err error
|
||||||
var files []string
|
var files []string
|
||||||
|
|
||||||
flag.StringVar(&k8sVersion, "kubernetes-version", "1.18.0", "version of Kubernetes to test against")
|
flag.StringVar(&k8sVersion, "kubernetes-version", "1.18.0", "version of Kubernetes to validate against")
|
||||||
flag.Var(&schemaLocationsParam, "schema-location", "override schemas location search path (can be specified multiple times)")
|
flag.Var(&schemaLocationsParam, "schema-location", "override schemas location search path (can be specified multiple times)")
|
||||||
flag.BoolVar(&ignoreMissingSchemas, "ignore-missing-schemas", false, "skip files with missing schemas instead of failing")
|
flag.BoolVar(&ignoreMissingSchemas, "ignore-missing-schemas", false, "skip files with missing schemas instead of failing")
|
||||||
flag.BoolVar(&summary, "summary", false, "print a summary at the end")
|
flag.BoolVar(&summary, "summary", false, "print a summary at the end")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue