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 15:32:57 +01:00
committed by GitHub
parent 2258e6bd16
commit 028d0d0c2c
5 changed files with 50 additions and 4 deletions

View File

@@ -391,6 +391,14 @@ func schema_pkg_apis_featuretoggle_v0alpha1_ToggleStatus(ref common.ReferenceCal
Format: "",
},
},
"stage": {
SchemaProps: spec.SchemaProps{
Description: "The feature toggle stage",
Default: "",
Type: []string{"string"},
Format: "",
},
},
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Is the flag enabled",
@@ -421,7 +429,7 @@ func schema_pkg_apis_featuretoggle_v0alpha1_ToggleStatus(ref common.ReferenceCal
},
},
},
Required: []string{"name", "enabled", "writeable"},
Required: []string{"name", "stage", "enabled", "writeable"},
},
},
Dependencies: []string{