mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-17 01:29:52 +00:00
validate against master by default, not 1.18.0
This commit is contained in:
parent
0a14aae014
commit
3a697f3ce2
4 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ func FromFlags(progName string, args []string) (Config, string, error) {
|
|||
c := Config{}
|
||||
c.Files = []string{}
|
||||
|
||||
flags.StringVar(&c.KubernetesVersion, "kubernetes-version", "1.18.0", "version of Kubernetes to validate against")
|
||||
flags.StringVar(&c.KubernetesVersion, "kubernetes-version", "master", "version of Kubernetes to validate against, e.g.: 1.18.0")
|
||||
flags.Var(&schemaLocationsParam, "schema-location", "override schemas location search path (can be specified multiple times)")
|
||||
flags.StringVar(&skipKindsCSV, "skip", "", "comma-separated list of kinds to ignore")
|
||||
flags.StringVar(&rejectKindsCSV, "reject", "", "comma-separated list of kinds to reject")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue