Version the common and derived rail contract
This commit is contained in:
parent
fee395f0c4
commit
3ece1b55fb
8 changed files with 407 additions and 2 deletions
30
examples/common-workload.json
Normal file
30
examples/common-workload.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"contract_version": "1.0.0",
|
||||
"workload_id": "example-platform-service",
|
||||
"ownership_repo": "railiance-platform",
|
||||
"criticality": "medium",
|
||||
"data_classification": "internal",
|
||||
"dependencies": ["kubernetes-api"],
|
||||
"identity": {
|
||||
"principal": "example-platform-service",
|
||||
"secret_references": []
|
||||
},
|
||||
"health": {
|
||||
"readiness": "HTTP readiness probe succeeds",
|
||||
"smoke": "Authenticated package smoke succeeds"
|
||||
},
|
||||
"recovery": {
|
||||
"rollback": "Restore the previous verified Kubernetes release"
|
||||
},
|
||||
"rail_bindings": [
|
||||
{
|
||||
"rail_id": "rail-kubernetes",
|
||||
"rail_contract": "1.0",
|
||||
"readiness_state": "declared",
|
||||
"required_substrate_capabilities": ["kubernetes-api"],
|
||||
"deployment_artifacts": ["railiance/app.toml"],
|
||||
"rollout": {"mode": "stage2-isolated-canary"},
|
||||
"rollback": {"mode": "previous-release"}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue