439d4eab98
*Critical process for database-chassis is redis-chassis but critical_process contains hard-coded to `redis` program always. Instead using jinja2 template to render critical process list based on database docker type. redis-chassis for database-chassis docker and redis for regular database docker.
6 lines
134 B
Django/Jinja
6 lines
134 B
Django/Jinja
{% if INSTANCES %}
|
|
{% for redis_inst, redis_items in INSTANCES.items() %}
|
|
program:{{ redis_inst }}
|
|
{%- endfor %}
|
|
{%- endif %}
|