57 lines
2.0 KiB
JSON
57 lines
2.0 KiB
JSON
[
|
|
{
|
|
"name": "a database provision provided to a consumer under a local name",
|
|
"of": "state:provisions/<node>.<consumer>.<provision>.<local>",
|
|
"given": {
|
|
"v": 1,
|
|
"provision": "postgres-database",
|
|
"local": "main",
|
|
"consumer": {"module": "keycloak", "node": "ace"},
|
|
"provider": {"module": "postgres", "node": "novox"},
|
|
"depends-on": ["novox.postgres.secret-postgres-database"],
|
|
"state": "provided",
|
|
"reference": {"id": "pair/novox/postgres-database/ace/keycloak/main", "generation": 2},
|
|
"plan": {"provision": "postgres-database", "local": "main", "provider": "novox", "provider-module": "postgres", "credential-form": "pair", "names": {"name-main": "keycloak.example.internal"}},
|
|
"at": "2026-11-04T12:00:00Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "a provision that waits for the operator",
|
|
"of": "state:provisions/<node>.<consumer>.<provision>",
|
|
"given": {
|
|
"v": 1,
|
|
"provision": "api-token",
|
|
"consumer": {"module": "bazarr", "node": "ace"},
|
|
"provider": {"module": "mesh-vault", "node": "novox"},
|
|
"state": "waits",
|
|
"why": "the token is the operator's to give",
|
|
"at": "2026-11-04T12:00:00Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "a retiring provision with the operator's warrant",
|
|
"of": "state:provisions/<node>.<consumer>.<provision>",
|
|
"given": {
|
|
"v": 1,
|
|
"provision": "postgres-database",
|
|
"consumer": {"module": "old-app", "node": "ace"},
|
|
"provider": {"module": "postgres", "node": "novox"},
|
|
"state": "retiring",
|
|
"why": "no want needs it",
|
|
"ask": "a7",
|
|
"warrant": {"ask": "a7", "option": "retire", "by": "operator", "at": "2026-11-04T13:00:00Z"},
|
|
"at": "2026-11-04T12:00:00Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "a module's plan on a node",
|
|
"of": "state:plans/<node>.<module>",
|
|
"given": {
|
|
"v": 1,
|
|
"node": "ace",
|
|
"module": "keycloak",
|
|
"plan": {"provisions": [{"provision": "postgres-database", "provider": "novox", "provider-module": "postgres", "credential-form": "pair"}]}
|
|
}
|
|
}
|
|
]
|