QueryLibrary: Adding Tags as new set field to queries (#105702)
This commit is contained in:
@@ -409,6 +409,26 @@ func schema_apis_query_v0alpha1_template_QueryTemplate(ref common.ReferenceCallb
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"tags": {
|
||||
VendorExtensible: spec.VendorExtensible{
|
||||
Extensions: spec.Extensions{
|
||||
"x-kubernetes-list-type": "set",
|
||||
},
|
||||
},
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "The tags that can be used to filter the template",
|
||||
Type: []string{"array"},
|
||||
Items: &spec.SchemaOrArray{
|
||||
Schema: &spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"isLocked": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Whether the query is locked and cannot be edited Note: This is purely for UI display purposes and not for security",
|
||||
|
||||
Reference in New Issue
Block a user