diff --git a/pkg/registry/apis/dashboard/large.go b/pkg/registry/apis/dashboard/large.go index 88a5eb2d56d..9530b247d2f 100644 --- a/pkg/registry/apis/dashboard/large.go +++ b/pkg/registry/apis/dashboard/large.go @@ -31,7 +31,7 @@ func NewDashboardLargeObjectSupport(scheme *runtime.Scheme) *apistore.BasicLarge dash.Spec = spec dash.SetManagedFields(nil) // this could be bigger than the object! - keep := []string{"title", "description", "schemaVersion"} + keep := []string{"title", "description", "tags", "schemaVersion"} for _, k := range keep { v, ok := old[k] if ok { diff --git a/pkg/registry/apis/dashboard/large_test.go b/pkg/registry/apis/dashboard/large_test.go index a1f1094a935..45510304a65 100644 --- a/pkg/registry/apis/dashboard/large_test.go +++ b/pkg/registry/apis/dashboard/large_test.go @@ -54,7 +54,8 @@ func TestLargeDashboardSupport(t *testing.T) { require.NoError(t, err) require.JSONEq(t, `{ "schemaVersion": 33, - "title": "Panel tests - All panels" + "title": "Panel tests - All panels", + "tags": ["gdev","panel-tests","all-panels"] }`, string(small)) // Now make it big again