You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More often than not, controllers will be defined and scoped to a set of supported resource types.
For example, the Flipt controller handles Flipt and Segment resource types only.
It should therefor be possible to bundle both the Controller WASM binary and its support definitions in a single artefact. The most promising format is likely OCI.
With the https://github.com/oras-project/oras-go project we could add support for bundling WASM binaries with their associated resources type directly into cup and cupd. cupd could support sourcing controllers and definitions directly from OCI registries.
Here are some useful links for design ideas around packing:
This is the solo.io WASM format, that is compatible with docker build and push.
That would make the tooling a lot easier to get going with.
If you have Docker, it could just be a json file next to a wasm binary with a well-known name or configurable name in the well-known configuration file.
More often than not, controllers will be defined and scoped to a set of supported resource types.
For example, the Flipt controller handles Flipt and Segment resource types only.
It should therefor be possible to bundle both the Controller WASM binary and its support definitions in a single artefact. The most promising format is likely OCI.
With the https://github.com/oras-project/oras-go project we could add support for bundling WASM binaries with their associated resources type directly into
cup
andcupd
.cupd
could support sourcing controllers and definitions directly from OCI registries.Here are some useful links for design ideas around packing:
Quick sketch of what a manifest might look like for cup:
cup
subcommandsOne of more new subcommand(s) would be useful for packing, publishing and pulling Cup controllers.
We will need to support users being able to:
cupd
controller definitionThe Controller definition will need extending to support referencing a registry and tag.
The controller will need to:
The text was updated successfully, but these errors were encountered: