mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-19 10:29:51 +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
|
|
@ -87,7 +87,7 @@ func New(schemaLocation string, cache string, strict bool, skipTLS bool) (Regist
|
|||
}
|
||||
|
||||
// try to compile the schemaLocation template to ensure it is valid
|
||||
if _, err := schemaPath(schemaLocation, "Deployment", "v1", "1.18.0", true); err != nil {
|
||||
if _, err := schemaPath(schemaLocation, "Deployment", "v1", "master", true); err != nil {
|
||||
return nil, fmt.Errorf("failed initialising schema location registry: %s", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue