Files
holos/docs/examples/platforms/platform.example.cue
Jeff McCune 9bebd2e4b6 Discriminate on cue export type
Leaf directories can output different kinds of things:

 1. Platform specification.  A list of components to manage.
 2. Kubernetes API Objects suitable for kubectl apply -f- and friends.
 3. Helm values to provide to a helm chart to render API objects.

This patch adds an output schema and a kind discriminator so the holos
cli can figure out what type of output it's working with.  This makes it
possible to have a single `holos build <directory>` command that does
the right thing.
2024-02-06 15:47:13 -08:00

8 lines
183 B
CUE

package holos
// Copy this file to platform.site.cue and specify concrete values for your local site.
_Platform: org: {
name: string | *"example"
domain: string | *"example.com"
}