verify-layer: cloud exports (AWS ECS/EC2/Lambda, Azure VMs/Container Instances/Container Apps/Web Apps, GCP Compute Engine/Cloud Run) read from the operator's own CLI export, never from an account; fixtures derived from the vendors' documented examples; a real account is unmeasured and the README says so
This commit is contained in:
1 parent
ea695dcf32
commit
ac14880703
49 files changed
+10080
-17
No files matched your search
@@ -0,0 +1,260 @@
|
||||
[
|
||||
{
|
||||
"apiVersion": "serving.knative.dev/v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"name": "api",
|
||||
"namespace": "123456789012",
|
||||
"selfLink": "/apis/serving.knative.dev/v1/namespaces/123456789012/services/api",
|
||||
"uid": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b",
|
||||
"resourceVersion": "AAYy1ZQ0JdU",
|
||||
"generation": 3,
|
||||
"creationTimestamp": "2026-09-30T14:02:11.431902Z",
|
||||
"labels": {
|
||||
"cloud.googleapis.com/location": "europe-west1"
|
||||
},
|
||||
"annotations": {
|
||||
"run.googleapis.com/ingress": "all",
|
||||
"run.googleapis.com/ingress-status": "all",
|
||||
"serving.knative.dev/creator": "[email protected]",
|
||||
"serving.knative.dev/lastModifier": "[email protected]"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "api-00003-xyz",
|
||||
"annotations": {
|
||||
"autoscaling.knative.dev/maxScale": "10",
|
||||
"run.googleapis.com/execution-environment": "gen2"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containerConcurrency": 80,
|
||||
"timeoutSeconds": 300,
|
||||
"serviceAccountName": "[email protected]",
|
||||
"containers": [
|
||||
{
|
||||
"name": "api-1",
|
||||
"image": "europe-west1-docker.pkg.dev/example-project/apps/api@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
||||
"args": [
|
||||
"--port=8080"
|
||||
],
|
||||
"ports": [
|
||||
{
|
||||
"name": "http1",
|
||||
"containerPort": 8080
|
||||
}
|
||||
],
|
||||
"env": [
|
||||
{
|
||||
"name": "LOG_LEVEL",
|
||||
"value": "info"
|
||||
},
|
||||
{
|
||||
"name": "DB_PASSWORD",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "latest",
|
||||
"name": "db-password"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1000m",
|
||||
"memory": "512Mi"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"name": "cache",
|
||||
"mountPath": "/cache"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "cache",
|
||||
"emptyDir": {
|
||||
"medium": "Memory",
|
||||
"sizeLimit": "128Mi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"traffic": [
|
||||
{
|
||||
"percent": 100,
|
||||
"latestRevision": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"observedGeneration": 3,
|
||||
"conditions": [
|
||||
{
|
||||
"type": "Ready",
|
||||
"status": "True",
|
||||
"lastTransitionTime": "2026-10-10T09:15:22.870111Z"
|
||||
},
|
||||
{
|
||||
"type": "ConfigurationsReady",
|
||||
"status": "True",
|
||||
"lastTransitionTime": "2026-10-10T09:15:20.113005Z"
|
||||
},
|
||||
{
|
||||
"type": "RoutesReady",
|
||||
"status": "True",
|
||||
"lastTransitionTime": "2026-10-10T09:15:22.870111Z"
|
||||
}
|
||||
],
|
||||
"latestReadyRevisionName": "api-00003-xyz",
|
||||
"latestCreatedRevisionName": "api-00003-xyz",
|
||||
"traffic": [
|
||||
{
|
||||
"revisionName": "api-00003-xyz",
|
||||
"percent": 100,
|
||||
"latestRevision": true
|
||||
}
|
||||
],
|
||||
"url": "https://api-abc123-ew.a.run.app",
|
||||
"address": {
|
||||
"url": "https://api-abc123-ew.a.run.app"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "serving.knative.dev/v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"name": "batch",
|
||||
"namespace": "123456789012",
|
||||
"selfLink": "/apis/serving.knative.dev/v1/namespaces/123456789012/services/api",
|
||||
"uid": "00000000-0000-4000-8000-00000000oprita",
|
||||
"resourceVersion": "AAYy1ZQ0JdU",
|
||||
"generation": 3,
|
||||
"creationTimestamp": "2026-09-30T14:02:11.431902Z",
|
||||
"labels": {
|
||||
"cloud.googleapis.com/location": "europe-west1"
|
||||
},
|
||||
"annotations": {
|
||||
"run.googleapis.com/ingress": "all",
|
||||
"run.googleapis.com/ingress-status": "all",
|
||||
"serving.knative.dev/creator": "[email protected]",
|
||||
"serving.knative.dev/lastModifier": "[email protected]"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "api-00003-xyz",
|
||||
"annotations": {
|
||||
"autoscaling.knative.dev/maxScale": "10",
|
||||
"run.googleapis.com/execution-environment": "gen2"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containerConcurrency": 80,
|
||||
"timeoutSeconds": 300,
|
||||
"serviceAccountName": "[email protected]",
|
||||
"containers": [
|
||||
{
|
||||
"name": "api-1",
|
||||
"image": "europe-west1-docker.pkg.dev/example-project/apps/api@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
||||
"args": [
|
||||
"--port=8080"
|
||||
],
|
||||
"ports": [
|
||||
{
|
||||
"name": "http1",
|
||||
"containerPort": 8080
|
||||
}
|
||||
],
|
||||
"env": [
|
||||
{
|
||||
"name": "LOG_LEVEL",
|
||||
"value": "info"
|
||||
},
|
||||
{
|
||||
"name": "DB_PASSWORD",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "latest",
|
||||
"name": "db-password"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1000m",
|
||||
"memory": "512Mi"
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"name": "cache",
|
||||
"mountPath": "/cache"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "cache",
|
||||
"emptyDir": {
|
||||
"medium": "Memory",
|
||||
"sizeLimit": "128Mi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"traffic": [
|
||||
{
|
||||
"percent": 100,
|
||||
"latestRevision": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"observedGeneration": 3,
|
||||
"conditions": [
|
||||
{
|
||||
"type": "Ready",
|
||||
"status": "False",
|
||||
"reason": "RevisionFailed",
|
||||
"message": "Revision batch-00001-abc is not ready.",
|
||||
"lastTransitionTime": "2026-10-17T20:00:00.000000Z"
|
||||
},
|
||||
{
|
||||
"type": "ConfigurationsReady",
|
||||
"status": "True",
|
||||
"lastTransitionTime": "2026-10-10T09:15:20.113005Z"
|
||||
},
|
||||
{
|
||||
"type": "RoutesReady",
|
||||
"status": "True",
|
||||
"lastTransitionTime": "2026-10-10T09:15:22.870111Z"
|
||||
}
|
||||
],
|
||||
"latestReadyRevisionName": "api-00003-xyz",
|
||||
"latestCreatedRevisionName": "api-00003-xyz",
|
||||
"traffic": [
|
||||
{
|
||||
"revisionName": "api-00003-xyz",
|
||||
"percent": 100,
|
||||
"latestRevision": true
|
||||
}
|
||||
],
|
||||
"url": "https://api-abc123-ew.a.run.app",
|
||||
"address": {
|
||||
"url": "https://api-abc123-ew.a.run.app"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user