K8s: use deprecatedInternalID label rather than SQL annotation (#99263)
This commit is contained in:
@@ -41,8 +41,8 @@ func TestStandardDocumentBuilder(t *testing.T) {
|
||||
"updatedBy": "user:XYZ",
|
||||
"name": "test1",
|
||||
"repo": {
|
||||
"name": "SQL",
|
||||
"path": "15",
|
||||
"name": "something",
|
||||
"path": "path/in/system.json",
|
||||
"hash": "xyz"
|
||||
}
|
||||
}`, string(jj))
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
"annotations": {
|
||||
"grafana.app/createdBy": "user:ABC",
|
||||
"grafana.app/updatedBy": "user:XYZ",
|
||||
"grafana.app/repoName": "SQL",
|
||||
"grafana.app/repoPath": "15",
|
||||
"grafana.app/repoName": "something",
|
||||
"grafana.app/repoPath": "path/in/system.json",
|
||||
"grafana.app/repoHash": "xyz",
|
||||
"grafana.app/updatedTimestamp": "2024-07-01T10:11:12Z"
|
||||
}
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
"rv": 1234,
|
||||
"title": "Test AAA",
|
||||
"title_sort": "test aaa",
|
||||
"labels": {
|
||||
"grafana.app/deprecatedInternalID": "123"
|
||||
},
|
||||
"created": 1706690655000,
|
||||
"createdBy": "user:abc",
|
||||
"repo": {
|
||||
"name": "SQL"
|
||||
}
|
||||
"createdBy": "user:abc"
|
||||
}
|
||||
+4
-2
@@ -8,8 +8,10 @@
|
||||
"resourceVersion": "1706690655000",
|
||||
"creationTimestamp": "2024-01-31T08:44:15Z",
|
||||
"annotations": {
|
||||
"grafana.app/createdBy": "user:abc",
|
||||
"grafana.app/originName": "SQL"
|
||||
"grafana.app/createdBy": "user:abc"
|
||||
},
|
||||
"labels": {
|
||||
"grafana.app/deprecatedInternalID": "123"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
|
||||
Reference in New Issue
Block a user