diff --git a/kolla/image/build.py b/kolla/image/build.py index bd3f75b9ca..09fa14288e 100644 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -673,6 +673,7 @@ class KollaWorker(object): env = jinja2.Environment( # nosec: not used to render HTML loader=jinja2.FileSystemLoader(template_path)) env.filters.update(self._get_filters()) + env.globals.update(self._get_methods()) template = env.get_template(template_name) if self.include_header: with open(self.include_header, 'r') as f: