Push changes to platform form CUE config to holos server so the updated form shows up nicely. This sub-command enables the platform designer to iterate on the form.
[x] Form is rendered into a proto buffer.
[x] Platform ID is loaded from platform.metadata.json
[x] Platform Form is updated using holos.platform.v1alpha1.PlatformService.
[x] User can view the updated form and save the form model back to holos server
Pull the Platform Model from the PlatformService and store it in a PlatformConfig. Marshal the message to a JSON file for re-use by holos render without needing rpc calls.
[x] Write the PlatformConfig next to platform.metadata.json in the root of the generated platform directory.
holos render platform bare
Outcomes:
[x] holos loads the PlatformConfig from the local json file created with holos pull platform.
[x] holos provides the PlatformConfig including the platform model to CUE in a way all holos components can reference the model at _Platform.spec.model
[x] holos render platform ./bare/ returns a list of platform components.
[x] holos iterates over the Platform build plan and renders each individual component.
[x] User can apply the rendered platform components directly.
holos #demo #mvp
What is the minimum viable demo / minimum viable product?
Complete in 0.77.0.
holos generate platform bare
Generate the platform config code in the current working directory. Outcomes:
platform.metadata.json
to the local file system with name, display name, id.Complete in 0.78.0
holos push platform form
Push changes to platform form CUE config to
holos server
so the updated form shows up nicely. This sub-command enables the platform designer to iterate on the form.platform.metadata.json
holos.platform.v1alpha1.PlatformService
.holos server
Complete in 0.79.0
holos pull platform bare
Pull the Platform Model from the PlatformService and store it in a
PlatformConfig
. Marshal the message to a JSON file for re-use byholos render
without needing rpc calls.PlatformConfig
next toplatform.metadata.json
in the root of the generated platform directory.holos render platform bare
Outcomes:
holos
loads thePlatformConfig
from the local json file created withholos pull platform
.holos
provides thePlatformConfig
including the platform model to CUE in a way all holos components can reference the model at_Platform.spec.model
holos render platform ./bare/
returns a list of platform components.holos
iterates over the Platform build plan and renders each individual component.Complete in 0.80.2
holos generate component cue minimal
Generate a holos component that manages kubernetes api objects as CUE code. Outcomes:
Complete in 0.81.0
holos generate component helm
Generates a holos component that manages a Helm chart.
#HelmChart
definition.schematic.json
default flag values, short help, long help. Complete in v0.81.2holos generate platform reference
Repeat the steps of the
bare
platform for thereference
platform.Follow up tasks