K8s: use +enum tag in playlist and unstructured dummy (#82022)

This commit is contained in:
Ryan McKinley
2024-02-06 16:10:32 -08:00
committed by GitHub
parent 83ea51f241
commit 40a08a7720
10 changed files with 27 additions and 16 deletions

View File

@@ -32,10 +32,11 @@ func schema_pkg_apis_playlist_v0alpha1_Item(ref common.ReferenceCallback) common
Properties: map[string]spec.Schema{
"type": {
SchemaProps: spec.SchemaProps{
Description: "Type of the item.",
Description: "Type of the item.\n\nPossible enum values:\n - `\"dashboard_by_id\"` Deprecated -- should use UID\n - `\"dashboard_by_tag\"`\n - `\"dashboard_by_uid\"`",
Default: "",
Type: []string{"string"},
Format: "",
Enum: []interface{}{"dashboard_by_id", "dashboard_by_tag", "dashboard_by_uid"},
},
},
"value": {