still no tests, will do this somewhere in the future, promised 🤞
The rest of this description is the same as the updated README.md
Partial Templates
You can optionally split your charts.yml file into multiple chunks, by using
partial templates. This works almost the same way as Helm's support for these
in charts. See the Helm documentation for more details.
To use these partials, you have to set the --partials-dir flag when calling
kubecrt, pass it the path to your partials directory, and then use those
partials in your charts.yml.
charts.yml
epp
dependencyThe rest of this description is the same as the updated README.md
Partial Templates
You can optionally split your
charts.yml
file into multiple chunks, by using partial templates. This works almost the same way as Helm's support for these in charts. See the Helm documentation for more details.To use these partials, you have to set the
--partials-dir
flag when callingkubecrt
, pass it the path to your partials directory, and then use those partials in yourcharts.yml
.Example:
charts.yml:
partials/factorio/resources.yml
You can then run this as follows:
And the result is a fully-parsed charts printed to stdout.
Some notes:
define
has to be uniquely named, or risk being overwrittendefine
blocks in a single file