Add a feature to KubernetesResourceHandler
to reuse Jinja templates
#90
Labels
enhancement
New feature or request
KubernetesResourceHandler
to reuse Jinja templates
#90
Context
The current implementation of
KubernetesResourceHandler
has a limitation where using jinja's tags to reference a template from within another template, for example the include tag and the import tag.With this limitation, we resort to duplicating files as a workaround. See an example in this pr, look at
katib-config.yaml.j2
andkatib-config-configmap.yaml.j2
in the katib-controller templates.What needs to get done
Definition of Done
chisme's
KubernetesResourceHandler
and the base charm's kubernetes component allow reusing of jinja templates, tests included.The text was updated successfully, but these errors were encountered: