2024-07-23 00:03:46 +03:00
|
|
|
{#- prologue -#}
|
|
|
|
{%- set c_env = ( j2cfg.core_worker_env or [] ) | any_to_env_dict -%}
|
|
|
|
{%- set c_vars = c_env | dict_keys -%}
|
2024-07-24 22:47:53 +03:00
|
|
|
{%- set c_vars_passthrough = c_env | dict_empty_keys -%}
|
|
|
|
{%- set vars_passthrough = ((env_passthrough | list_diff(c_vars)) + c_vars_passthrough) | uniq | list_intersect(env | dict_keys) -%}
|
2024-07-23 00:03:46 +03:00
|
|
|
{#- main part -#}
|
2024-07-31 14:04:15 +03:00
|
|
|
{%- for k in vars_passthrough %}
|
2024-07-23 00:03:46 +03:00
|
|
|
{{ k }}
|
2024-07-31 14:04:15 +03:00
|
|
|
{%- endfor %}
|