Skip to content

Commit

Permalink
Test if sequence diagram works
Browse files Browse the repository at this point in the history
Signed-off-by: Rashmi Gottipati <[email protected]>
  • Loading branch information
rashmigottipati committed Aug 18, 2021
1 parent 49f32ee commit 0a93566
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion designs/extensible-cli-and-scaffolding-plugins-phase-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,16 @@ kubebuilder->kubebuilder: 7. decode PluginResponse JSON
kubebuilder->filesystem: 8. write files to disk
```

![Kubebuilder to external plugins](https://github.com/rashmigottipati/POC-Phase2-Plugins/blob/main/docs/externalplugins-sequence-diagram-2.png)

* `kubebuilder` discovers `myexternalplugin/v1` plugin binary and runs the plugin from the discovered path.

* Send `PluginRequest` as a JSON over `stdin` to `myexternalplugin` plugin.

`PluginRequest JSON`:

```JSON
{
{
"command":"init",
"args":["--domain","example.com"],
"universe":{}
Expand Down

0 comments on commit 0a93566

Please sign in to comment.