Scopes: Add DashboardTitle to scopedashboardbinding (#88609)

scopes: add title to scopedashboardbinding

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2024-06-04 10:36:03 +03:00
committed by GitHub
parent 3af72bdeee
commit c99fe4f970
7 changed files with 22 additions and 44 deletions
+1 -2
View File
@@ -162,8 +162,7 @@ func Matcher(label labels.Selector, field fields.Selector) apistore.SelectionPre
func SelectableScopeFields(obj *scope.Scope) fields.Set {
return generic.MergeFieldsSets(generic.ObjectMetaFieldsSet(&obj.ObjectMeta, false), fields.Set{
"spec.type": obj.Spec.Type,
"spec.category": obj.Spec.Category,
"spec.title": obj.Spec.Title,
})
}