-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
It's natural for some components to have customization points or other forms of dynamic configuration. A typical solution is to support environment variables (see #78) and/or some form of templating.
Components have props, which are (disjointly?) partitioned in to spec and state. Spec properties are expression-like and state properties are promise-like. That is, spec may be defined in terms of other properties and variables, where as state is asynchronous observations of resources.
Prior art here:
- procfiles are interpreted by your shell, allowing arbitrary substitution.
- docker-compose has variable interpolation: https://github.com/compose-spec/compose-spec/blob/master/spec.md#interpolation – this implements the safe environment variable subset of shell substitution syntax
- kubernetes et al use Go templates
See also #78 regarding environment variables
Metadata
Metadata
Assignees
Labels
feature requestCommunity feature requestCommunity feature request