validate against master by default, not 1.18.0

This commit is contained in:
Yann Hamon 2021-07-11 22:53:23 +02:00
parent 0a14aae014
commit 3a697f3ce2
4 changed files with 4 additions and 4 deletions

View file

@ -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)
}