{% load i18n sizeformat %} {% load url from future %}

{% trans "Cluster Template Configuration Overview" %}

{% if template.cluster_configs %}
{% for service, service_conf in template.cluster_configs.items %}

{{ service }}

{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {% blocktrans %}{{ conf_name }}: {{ conf_value }}{% endblocktrans %}
  • {% endfor %}
{% else %}
{% trans "No configurations" %}
{% endif %} {% endfor %}
{% else %}
{% trans "Cluster configurations are not specified" %}
{% endif %}

{% trans "Node Groups Configuration Overview" %}

{% for node_group in template.node_groups %}

{% blocktrans with node_group_name=node_group.name %}Node Group Name: {{ node_group_name }}{% endblocktrans %}

{% if node_group.node_configs %}
{% for service, service_conf in node_group.node_configs.items %}

{{ service }}

{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {% blocktrans %}{{ conf_name }}: {{ conf_value }}{% endblocktrans %}
  • {% endfor %}
{% else %}
{% trans "No configurations" %}
{% endif %} {% endfor %}
{% else %}
{% trans "Node group configurations are not specified" %}
{% endif %}
{% endfor %}