Rename scope.name to scope.title since name exists in metadata. (#83172)

name is part of metadata which is confusing

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2024-02-21 09:32:57 -05:00
committed by GitHub
parent 2258e6bd16
commit 028d0d0c2c
5 changed files with 50 additions and 4 deletions
@@ -178,7 +178,7 @@ func schema_pkg_apis_scope_v0alpha1_ScopeSpec(ref common.ReferenceCallback) comm
SchemaProps: spec.SchemaProps{
Type: []string{"object"},
Properties: map[string]spec.Schema{
"name": {
"title": {
SchemaProps: spec.SchemaProps{
Default: "",
Type: []string{"string"},
@@ -220,7 +220,7 @@ func schema_pkg_apis_scope_v0alpha1_ScopeSpec(ref common.ReferenceCallback) comm
},
},
},
Required: []string{"name", "type", "description", "category", "filters"},
Required: []string{"title", "type", "description", "category", "filters"},
},
},
Dependencies: []string{