3 stable releases
1.1.1 | Jan 12, 2024 |
---|---|
1.0.0 | Jan 12, 2024 |
#197 in Template engine
85KB
2K
SLoC
Contemplate
Contemplate is a template rendering tool designed to render configuration templates. While it takes inspiration from configuration management systems such as ansible's template action, it is specifically not designed to be a full configuration management system. Furthermore, it's designed to be run on the target system, and ships as a single static binary.
Features
- Template language based on jinja2
- Layered data sources: File, Environment Variables, Kubernetes ConfigMaps and Secrets
- Live re-rendering of templates when data changes
- Notification of configuration changes for downstream daemons
- Builds as a static binary for use in distroless or scratch containers
Usage in Containers
To add Contemplate to a container build, add the following build step to your Dockerfile
:
COPY --from=ghcr.io/infrarun/contemplate:latest /contemplate /contemplate
Please see the documentation for more information.
Dependencies
~73–105MB
~2M SLoC