@opensoha/contracts 0.1.24 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPATIBILITY.md +24 -0
- package/README.md +1 -1
- package/agent/environment/export.go +1 -0
- package/agent/environment/protocol_test.go +1 -1
- package/agent/guest/protocol_test.go +2 -2
- package/auth/catalog_generated.go +2 -2
- package/auth/gateway_permissions_test.go +48 -0
- package/auth/permission-catalog.json +300 -1
- package/compat/consumer-revisions.json +1 -1
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/delivery/document.schema.json +127 -9
- package/examples/relations_compat_test.go +18 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-build-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-deployment-template.json +30 -0
- package/fixtures/openapi/DeliveryDocument/invalid/migration-missing-guide-workflow-template.json +27 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-build-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-deployment-template.json +31 -0
- package/fixtures/openapi/DeliveryDocument/valid/migration-workflow-template.json +28 -0
- package/fixtures/openapi/DeliveryPlanInput/invalid/manual-plan.json +7 -0
- package/fixtures/openapi/DeliveryPlanInput/valid/manual-plan.json +6 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/candidate-on-runtime-deploy.json +9 -0
- package/fixtures/openapi/DeliveryTargetInput/invalid/config-update-missing-service.json +7 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-only.json +8 -0
- package/fixtures/openapi/DeliveryTargetInput/valid/template-configuration-without-runtime-environment.json +1 -0
- package/fixtures/openapi/KubernetesAgentActionCheck/invalid/unproven-state.json +6 -0
- package/fixtures/openapi/KubernetesAgentActionCheck/valid/configured-denied.json +9 -0
- package/fixtures/openapi/KubernetesAgentActionProfile/invalid/wildcard.json +1 -0
- package/fixtures/openapi/KubernetesAgentActionProfile/valid/workbench.json +1 -0
- package/fixtures/openapi/KubernetesClusterRegistrationRequest/invalid/action-profile.json +3 -0
- package/fixtures/openapi/KubernetesClusterRegistrationRequest/valid/action-profile.json +5 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-with-spec.json +33 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/invalid/source-without-uid.json +29 -0
- package/fixtures/openapi/KubernetesImportCandidateListEnvelope/valid/stable-source.json +30 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/invalid/condition-status-boolean.json +17 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/invalid/taint-effect-missing.json +16 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/valid/legacy-fields-absent.json +11 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/valid/no-taints.json +13 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/valid/ready-cordoned-tainted.json +28 -0
- package/fixtures/openapi/KubernetesNodeListEnvelope/valid/unknown-fields-null.json +13 -0
- package/fixtures/openapi/KubernetesPod/invalid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPod/valid/pod-uid.json +9 -0
- package/fixtures/openapi/KubernetesPodDetail/invalid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesPodDetail/valid/pod-uid.json +6 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/invalid/empty-source-uid.json +48 -0
- package/fixtures/openapi/KubernetesServiceImportRequest/valid/pinned-workloads-and-cr.json +48 -0
- package/fixtures/openapi/KubernetesTopologyCoverage/invalid/empty-as-success.json +5 -0
- package/fixtures/openapi/KubernetesTopologyCoverage/valid/not-installed.json +6 -0
- package/fixtures/openapi/KubernetesTopologyGraphEdge/invalid/negative-weight.json +8 -0
- package/fixtures/openapi/KubernetesTopologyGraphEdge/valid/zero-weight.json +20 -0
- package/fixtures/openapi/KubernetesTopologyGraphNode/invalid/fake-flow-kind.json +42 -0
- package/fixtures/openapi/KubernetesTopologyGraphNode/valid/rule.json +42 -0
- package/fixtures/openapi/KubernetesTopologySnapshot/invalid/raw-source-field.json +33 -0
- package/fixtures/openapi/KubernetesTopologySnapshot/valid/projected-source.json +32 -0
- package/fixtures/openapi/KubernetesTopologySnapshotRequest/invalid/arbitrary-gvr.json +8 -0
- package/fixtures/openapi/KubernetesTopologySnapshotRequest/valid/bounded-sources.json +11 -0
- package/fixtures/openapi/KubernetesTopologySourceQuery/invalid/cluster-namespace.json +4 -0
- package/fixtures/openapi/KubernetesTopologySourceQuery/valid/all-namespaces.json +4 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/invalid/initialization.json +7 -0
- package/fixtures/openapi/ManifestExecutionTaskPayload/valid/initialization.json +7 -0
- package/fixtures/openapi/ManifestRootResource/invalid/root.json +1 -0
- package/fixtures/openapi/ManifestRootResource/valid/root.json +1 -0
- package/fixtures/openapi/ResourceMonitoringPanel/invalid/unknown-quality.json +7 -0
- package/fixtures/openapi/ResourceMonitoringPanel/valid/not-collected.json +7 -0
- package/fixtures/openapi/ResourceMonitoringPoint/invalid/string-zero.json +4 -0
- package/fixtures/openapi/ResourceMonitoringPoint/valid/missing.json +4 -0
- package/fixtures/openapi/ResourceMonitoringPoint/valid/zero.json +4 -0
- package/fixtures/openapi/ResourceMonitoringView/invalid/raw-query.json +12 -0
- package/fixtures/openapi/ResourceMonitoringView/valid/unconfigured.json +12 -0
- package/fixtures/openapi/ResourceRelationConfig/invalid/executable-rule.json +17 -0
- package/fixtures/openapi/ResourceRelationConfig/valid/unknown-kind.json +13 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/invalid/migration-missing-guide-valid-yaml.json +38 -0
- package/fixtures/openapi/ServiceDeploymentTemplateInput/valid/migration-valid-yaml.json +39 -0
- package/fixtures/openapi/TemplateMigrationAssessment/invalid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationAssessment/valid/initialization.json +9 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/blank-guide.json +5 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/missing-guide.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/invalid/unknown-escape-hatch.json +6 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/legacy-safe.json +4 -0
- package/fixtures/openapi/TemplateMigrationPolicy/valid/ordered-data-change.json +5 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/duplicate-candidates.json +11 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdateBatchInput/valid/staged-adoption.json +10 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/invalid/unknown-mode.json +8 -0
- package/fixtures/openapi/TemplateUpdatePolicyInput/valid/explicit-automatic.json +8 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-identities.json +10 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/invalid/empty-targets.json +6 -0
- package/fixtures/openapi/TemplateUpdatePreviewInput/valid/cross-version-manual.json +14 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/client_test.go +2 -2
- package/gen/go/sohaapi/import_source_compat_test.go +12 -0
- package/gen/go/sohaapi/kubernetes_monitoring_test.go +67 -0
- package/gen/go/sohaapi/types.go +2210 -387
- package/gen/ts/sohaapi/index.ts +1862 -5
- package/go.mod +2 -2
- package/helmrelease/delivery.go +4 -1
- package/helmrelease/initialization.go +10 -0
- package/helmrelease/runtime/delivery.go +40 -10
- package/helmrelease/runtime/delivery_test.go +4 -0
- package/helmrelease/runtime/initialization.go +186 -0
- package/helmrelease/runtime/initialization_test.go +203 -0
- package/openapi/soha-api.json +5514 -1179
- package/openapi/soha-api.yaml +1080 -11
- package/openapi/spec_generated.go +3 -3
- package/openapi/spec_test.go +76 -0
- package/package.json +1 -1
- package/resource/agent_access.go +12 -0
- package/resource/agent_profiles.go +62 -0
- package/resource/agent_profiles_test.go +36 -0
- package/resource/kubernetes_kinds.go +73 -0
- package/resource/kubernetes_kinds_test.go +38 -0
- package/resource/models.go +25 -14
- package/resource/network_topology.go +166 -0
- package/resource/network_topology_projection.go +208 -0
- package/resource/network_topology_projection_test.go +53 -0
- package/resource/network_topology_test.go +51 -0
- package/resource/network_topology_validation.go +29 -0
- package/resource/node_drain.go +34 -0
- package/resource/relations.go +225 -0
- package/resource/relations_test.go +47 -0
- package/resource/resource_monitoring.go +99 -0
- package/resource/root_cr.go +38 -0
- package/resource/runtime/argocd_integration_test.go +1 -1
- package/resource/runtime/initialization.go +66 -0
- package/resource/runtime/initialization_test.go +80 -0
- package/resource/runtime/network_topology.go +232 -0
- package/resource/runtime/network_topology_test.go +62 -0
- package/resource/runtime/node_drain.go +124 -0
- package/resource/runtime/node_drain_test.go +95 -0
- package/resource/runtime/relations.go +161 -0
- package/resource/runtime/relations_test.go +100 -0
- package/resource/runtime/resource_edit.go +128 -0
- package/resource/runtime/resource_edit_test.go +183 -0
- package/resource/runtime/resource_monitoring.go +243 -0
- package/resource/runtime/resource_monitoring_test.go +88 -0
- package/resource/runtime/root_cr.go +79 -0
- package/resource/runtime/root_cr_test.go +118 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"clusterId": "cluster-prod",
|
|
3
|
+
"namespace": "payments",
|
|
4
|
+
"applicationKey": "payments",
|
|
5
|
+
"applicationName": "Payments",
|
|
6
|
+
"environmentKey": "prod",
|
|
7
|
+
"environmentName": "Production",
|
|
8
|
+
"ownershipMode": "observe_only",
|
|
9
|
+
"workloads": [
|
|
10
|
+
{
|
|
11
|
+
"workloadKind": "Deployment",
|
|
12
|
+
"workloadName": "deployment",
|
|
13
|
+
"expectedUid": "",
|
|
14
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"workloadKind": "StatefulSet",
|
|
18
|
+
"workloadName": "statefulset",
|
|
19
|
+
"expectedUid": "uid-StatefulSet",
|
|
20
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"workloadKind": "DaemonSet",
|
|
24
|
+
"workloadName": "daemonset",
|
|
25
|
+
"expectedUid": "uid-DaemonSet",
|
|
26
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"workloadKind": "Job",
|
|
30
|
+
"workloadName": "job",
|
|
31
|
+
"expectedUid": "uid-Job",
|
|
32
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"workloadKind": "CronJob",
|
|
36
|
+
"workloadName": "cronjob",
|
|
37
|
+
"expectedUid": "uid-CronJob",
|
|
38
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"workloadKind": "CustomResource",
|
|
42
|
+
"workloadName": "customresource",
|
|
43
|
+
"expectedUid": "uid-CustomResource",
|
|
44
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
45
|
+
"crdName": "elasticsearches.elasticsearch.k8s.elastic.co"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"clusterId": "cluster-prod",
|
|
3
|
+
"namespace": "payments",
|
|
4
|
+
"applicationKey": "payments",
|
|
5
|
+
"applicationName": "Payments",
|
|
6
|
+
"environmentKey": "prod",
|
|
7
|
+
"environmentName": "Production",
|
|
8
|
+
"ownershipMode": "observe_only",
|
|
9
|
+
"workloads": [
|
|
10
|
+
{
|
|
11
|
+
"workloadKind": "Deployment",
|
|
12
|
+
"workloadName": "deployment",
|
|
13
|
+
"expectedUid": "uid-Deployment",
|
|
14
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"workloadKind": "StatefulSet",
|
|
18
|
+
"workloadName": "statefulset",
|
|
19
|
+
"expectedUid": "uid-StatefulSet",
|
|
20
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"workloadKind": "DaemonSet",
|
|
24
|
+
"workloadName": "daemonset",
|
|
25
|
+
"expectedUid": "uid-DaemonSet",
|
|
26
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"workloadKind": "Job",
|
|
30
|
+
"workloadName": "job",
|
|
31
|
+
"expectedUid": "uid-Job",
|
|
32
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"workloadKind": "CronJob",
|
|
36
|
+
"workloadName": "cronjob",
|
|
37
|
+
"expectedUid": "uid-CronJob",
|
|
38
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"workloadKind": "CustomResource",
|
|
42
|
+
"workloadName": "customresource",
|
|
43
|
+
"expectedUid": "uid-CustomResource",
|
|
44
|
+
"expectedSpecDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
45
|
+
"crdName": "elasticsearches.elasticsearch.k8s.elastic.co"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "edge-1",
|
|
3
|
+
"source": "rule:route-uid:0",
|
|
4
|
+
"target": "service-1",
|
|
5
|
+
"relation": "weights",
|
|
6
|
+
"resolutionState": "resolved",
|
|
7
|
+
"port": "http",
|
|
8
|
+
"weight": 0,
|
|
9
|
+
"totalWeight": 100,
|
|
10
|
+
"sourceRef": {
|
|
11
|
+
"clusterId": "cluster-a",
|
|
12
|
+
"apiVersion": "traefik.io/v1alpha1",
|
|
13
|
+
"kind": "IngressRoute",
|
|
14
|
+
"name": "api",
|
|
15
|
+
"namespace": "team-a",
|
|
16
|
+
"scopeMode": "namespace",
|
|
17
|
+
"uid": "route-uid",
|
|
18
|
+
"resourceVersion": "7"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "rule:route-uid:0",
|
|
3
|
+
"type": "live-traffic",
|
|
4
|
+
"label": "api /",
|
|
5
|
+
"provider": "traefik",
|
|
6
|
+
"protocol": "HTTP",
|
|
7
|
+
"resolutionState": "resolved",
|
|
8
|
+
"resource": {
|
|
9
|
+
"clusterId": "cluster-a",
|
|
10
|
+
"apiVersion": "traefik.io/v1alpha1",
|
|
11
|
+
"kind": "IngressRoute",
|
|
12
|
+
"name": "api",
|
|
13
|
+
"namespace": "team-a",
|
|
14
|
+
"scopeMode": "namespace",
|
|
15
|
+
"uid": "route-uid",
|
|
16
|
+
"resourceVersion": "7"
|
|
17
|
+
},
|
|
18
|
+
"rule": {
|
|
19
|
+
"index": 0,
|
|
20
|
+
"matchGroups": [
|
|
21
|
+
[
|
|
22
|
+
{
|
|
23
|
+
"type": "host",
|
|
24
|
+
"operator": "exact",
|
|
25
|
+
"value": "api.example.test"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "path",
|
|
29
|
+
"operator": "prefix",
|
|
30
|
+
"value": "/"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
],
|
|
34
|
+
"tlsMode": "terminate"
|
|
35
|
+
},
|
|
36
|
+
"properties": [
|
|
37
|
+
{
|
|
38
|
+
"name": "source",
|
|
39
|
+
"value": "configuration"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "rule:route-uid:0",
|
|
3
|
+
"type": "rule",
|
|
4
|
+
"label": "api /",
|
|
5
|
+
"provider": "traefik",
|
|
6
|
+
"protocol": "HTTP",
|
|
7
|
+
"resolutionState": "resolved",
|
|
8
|
+
"resource": {
|
|
9
|
+
"clusterId": "cluster-a",
|
|
10
|
+
"apiVersion": "traefik.io/v1alpha1",
|
|
11
|
+
"kind": "IngressRoute",
|
|
12
|
+
"name": "api",
|
|
13
|
+
"namespace": "team-a",
|
|
14
|
+
"scopeMode": "namespace",
|
|
15
|
+
"uid": "route-uid",
|
|
16
|
+
"resourceVersion": "7"
|
|
17
|
+
},
|
|
18
|
+
"rule": {
|
|
19
|
+
"index": 0,
|
|
20
|
+
"matchGroups": [
|
|
21
|
+
[
|
|
22
|
+
{
|
|
23
|
+
"type": "host",
|
|
24
|
+
"operator": "exact",
|
|
25
|
+
"value": "api.example.test"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "path",
|
|
29
|
+
"operator": "prefix",
|
|
30
|
+
"value": "/"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
],
|
|
34
|
+
"tlsMode": "terminate"
|
|
35
|
+
},
|
|
36
|
+
"properties": [
|
|
37
|
+
{
|
|
38
|
+
"name": "source",
|
|
39
|
+
"value": "configuration"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "v1",
|
|
3
|
+
"sources": [
|
|
4
|
+
{
|
|
5
|
+
"coverage": {
|
|
6
|
+
"provider": "traefik",
|
|
7
|
+
"sourceId": "traefik.ingressroutes",
|
|
8
|
+
"state": "available",
|
|
9
|
+
"namespace": "team-a",
|
|
10
|
+
"supportedKinds": [
|
|
11
|
+
"IngressRoute"
|
|
12
|
+
],
|
|
13
|
+
"observedAt": "2026-10-19T02:00:00Z"
|
|
14
|
+
},
|
|
15
|
+
"objects": [
|
|
16
|
+
{
|
|
17
|
+
"resource": {
|
|
18
|
+
"clusterId": "cluster-a",
|
|
19
|
+
"apiVersion": "traefik.io/v1alpha1",
|
|
20
|
+
"kind": "IngressRoute",
|
|
21
|
+
"name": "api",
|
|
22
|
+
"namespace": "team-a",
|
|
23
|
+
"scopeMode": "namespace",
|
|
24
|
+
"uid": "route-uid",
|
|
25
|
+
"resourceVersion": "7"
|
|
26
|
+
},
|
|
27
|
+
"content": "{}",
|
|
28
|
+
"originalManifest": "secret configuration must not cross the snapshot contract"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "v1",
|
|
3
|
+
"sources": [
|
|
4
|
+
{
|
|
5
|
+
"coverage": {
|
|
6
|
+
"provider": "traefik",
|
|
7
|
+
"sourceId": "traefik.ingressroutes",
|
|
8
|
+
"state": "available",
|
|
9
|
+
"namespace": "team-a",
|
|
10
|
+
"supportedKinds": [
|
|
11
|
+
"IngressRoute"
|
|
12
|
+
],
|
|
13
|
+
"observedAt": "2026-10-19T02:00:00Z"
|
|
14
|
+
},
|
|
15
|
+
"objects": [
|
|
16
|
+
{
|
|
17
|
+
"resource": {
|
|
18
|
+
"clusterId": "cluster-a",
|
|
19
|
+
"apiVersion": "traefik.io/v1alpha1",
|
|
20
|
+
"kind": "IngressRoute",
|
|
21
|
+
"name": "api",
|
|
22
|
+
"namespace": "team-a",
|
|
23
|
+
"scopeMode": "namespace",
|
|
24
|
+
"uid": "route-uid",
|
|
25
|
+
"resourceVersion": "7"
|
|
26
|
+
},
|
|
27
|
+
"content": "{\"spec\": {\"routes\": [{\"match\": \"Host(`api.example.test`)\", \"services\": [{\"name\": \"api\", \"port\": 80}]}]}}"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"apiVersion":"unknown.example/v1","kind":"Database","namespace":"team","name":"db","uid":"","generation":0,"crdName":"databases.unknown.example"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"apiVersion": "unknown.example/v1", "kind": "Database", "namespace": "team", "name": "db", "uid": "uid-1", "generation": 2, "crdName": "databases.unknown.example", "targetId": "target", "deliveryPlanId": "plan"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"clusterId": "c",
|
|
3
|
+
"view": "raw",
|
|
4
|
+
"from": "2026-10-18T23:00:00Z",
|
|
5
|
+
"to": "2026-10-19T00:00:00Z",
|
|
6
|
+
"stepSeconds": 60,
|
|
7
|
+
"generatedAt": "2026-10-19T00:00:00Z",
|
|
8
|
+
"snapshotQuality": "partial",
|
|
9
|
+
"unscheduledPendingPods": null,
|
|
10
|
+
"nodes": [],
|
|
11
|
+
"panels": []
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"clusterId": "c",
|
|
3
|
+
"view": "overview",
|
|
4
|
+
"from": "2026-10-18T23:00:00Z",
|
|
5
|
+
"to": "2026-10-19T00:00:00Z",
|
|
6
|
+
"stepSeconds": 60,
|
|
7
|
+
"generatedAt": "2026-10-19T00:00:00Z",
|
|
8
|
+
"snapshotQuality": "partial",
|
|
9
|
+
"unscheduledPendingPods": null,
|
|
10
|
+
"nodes": [],
|
|
11
|
+
"panels": []
|
|
12
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "http",
|
|
3
|
+
"name": "HTTP service",
|
|
4
|
+
"source": {
|
|
5
|
+
"renderer": "raw_yaml",
|
|
6
|
+
"files": [
|
|
7
|
+
{
|
|
8
|
+
"path": "deployment.yaml",
|
|
9
|
+
"content": "kind: Deployment\napiVersion: apps/v1\n"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"parameterSchema": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"port": {
|
|
17
|
+
"type": "integer",
|
|
18
|
+
"minimum": 1,
|
|
19
|
+
"maximum": 65535
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"port"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"defaults": {
|
|
27
|
+
"port": 8080
|
|
28
|
+
},
|
|
29
|
+
"health": {
|
|
30
|
+
"mode": "workload_ready",
|
|
31
|
+
"timeoutSeconds": 300
|
|
32
|
+
},
|
|
33
|
+
"enabled": true,
|
|
34
|
+
"migrationPolicy": {
|
|
35
|
+
"sequential": true,
|
|
36
|
+
"irreversible": false
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "http",
|
|
3
|
+
"name": "HTTP service",
|
|
4
|
+
"source": {
|
|
5
|
+
"renderer": "raw_yaml",
|
|
6
|
+
"files": [
|
|
7
|
+
{
|
|
8
|
+
"path": "deployment.yaml",
|
|
9
|
+
"content": "kind: Deployment\napiVersion: apps/v1\n"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"parameterSchema": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"port": {
|
|
17
|
+
"type": "integer",
|
|
18
|
+
"minimum": 1,
|
|
19
|
+
"maximum": 65535
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"port"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"defaults": {
|
|
27
|
+
"port": 8080
|
|
28
|
+
},
|
|
29
|
+
"health": {
|
|
30
|
+
"mode": "workload_ready",
|
|
31
|
+
"timeoutSeconds": 300
|
|
32
|
+
},
|
|
33
|
+
"enabled": true,
|
|
34
|
+
"migrationPolicy": {
|
|
35
|
+
"sequential": true,
|
|
36
|
+
"irreversible": true,
|
|
37
|
+
"guide": "Backup, migrate in order, verify; forward repair only."
|
|
38
|
+
}
|
|
39
|
+
}
|