Scopes: Move title and groups to status in ScopeDashboardBinding (#92377)
--------- Co-authored-by: Kyle Brandt <kyle@grafana.com> Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
This commit is contained in:
co-authored by
Kyle Brandt
Bogdan Matei
parent
34149c86d0
commit
2bb2183b41
@@ -81,6 +81,17 @@ func TestIntegrationScopes(t *testing.T) {
|
||||
"watch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scopedashboardbindings/status",
|
||||
"singularName": "",
|
||||
"namespaced": true,
|
||||
"kind": "ScopeDashboardBinding",
|
||||
"verbs": [
|
||||
"get",
|
||||
"patch",
|
||||
"update"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "scopenodes",
|
||||
"singularName": "scopenode",
|
||||
|
||||
@@ -5,5 +5,6 @@ metadata:
|
||||
spec:
|
||||
scope: example
|
||||
dashboard: abc
|
||||
status:
|
||||
dashboardTitle: "Example Dashboard ABC"
|
||||
groups: ["group1", "group2"]
|
||||
@@ -5,5 +5,6 @@ metadata:
|
||||
spec:
|
||||
scope: example
|
||||
dashboard: xyz
|
||||
status:
|
||||
dashboardTitle: "Example Dashboard XYZ"
|
||||
groups: ["group2", "group3"]
|
||||
Reference in New Issue
Block a user