Slide 8
Slide 8 text
Whitebox Controller
Managing resource state
Exec hander
Command
{
"object": {
"apiVersion": "example.dev/v1alpha1",
"kind": "Issue",
"metadata": {
"name": "example",
"namespace": "default"
},
"spec": {
"title": "Hello World!",
"body": "This is an example."
}
}
}
Request
(stdin)
{
"object": {
"apiVersion": "example.dev/v1alpha1",
"kind": "Issue",
"metadata": {
"name": "example",
"namespace": "default"
},
"spec": {
"title": "Hello World!",
"body": "This is an example."
},
"status": {
"url": "https://github.com/...",
"creationTime": 12345
}
}
}
Response
(stdout)