I am trying to make Elyra to use a custom Jinja template for my custom component. I have tried modifying Elyra's configuration file for this two items:
c.ElyraApp.template_paths = ['/home/templates']
c.ExtensionApp.template_paths = ['/home/templates']
Unfortunately none of them work, and I am not sure if they are not intended to be used like this or if I am configuring them wrong. The only way I was able to do so was by modifying the template listed in templates/airflow/
unfortunately that is persistent.
Also as far as I can see in the source code, the path is just hard coded, so not sure if it is actually configurable?
# Load template from installed elyra package
loader = PackageLoader('elyra', 'templates/airflow')
from here.
Currently the reason to change the template is to add volume mounts to the pods. But it would be handy to be able to specify my own template in the future if other things would need to be changed. Any ideas?