Commit ca155baa authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Matevz Golob

caddy-frontend: Add Kedifa partition to monitored list

Due to missing monitor frontend in tests this change is not covered by tests.

/reviewed-on nexedi/slapos!592
parent 19cc5a58
...@@ -26,7 +26,7 @@ md5sum = 72e8ff0773fd0325dcbe994786156570 ...@@ -26,7 +26,7 @@ md5sum = 72e8ff0773fd0325dcbe994786156570
[template-caddy-replicate] [template-caddy-replicate]
filename = instance-apache-replicate.cfg.in filename = instance-apache-replicate.cfg.in
md5sum = 99ec567c429ff82571d08818eaaed390 md5sum = 6ef06ef36dbb0c3ba1ea8841bcd49330
[template-slave-list] [template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in filename = templates/apache-custom-slave-list.cfg.in
......
...@@ -295,7 +295,7 @@ software-url = ${slap-connection:software-release-url} ...@@ -295,7 +295,7 @@ software-url = ${slap-connection:software-release-url}
{% endif %} {% endif %}
software-type = kedifa software-type = kedifa
name = kedifa name = kedifa
return = slave-kedifa-information master-key-generate-auth-url master-key-upload-url master-key-download-url caucase-url csr_id-url csr_id-certificate return = slave-kedifa-information master-key-generate-auth-url master-key-upload-url master-key-download-url caucase-url csr_id-url csr_id-certificate monitor-base-url
{% set sla_kedifa_key = "-sla-kedifa-" %} {% set sla_kedifa_key = "-sla-kedifa-" %}
{% set sla_kedifa_key_length = sla_kedifa_key | length %} {% set sla_kedifa_key_length = sla_kedifa_key | length %}
{% for key in slapparameter_dict.keys() %} {% for key in slapparameter_dict.keys() %}
...@@ -342,6 +342,7 @@ extra-context = ...@@ -342,6 +342,7 @@ extra-context =
[monitor-conf-parameters] [monitor-conf-parameters]
monitor-url-list += monitor-url-list +=
${request-kedifa:connection-monitor-base-url}
{% for frontend in frontend_section_list %} {% for frontend in frontend_section_list %}
{{ ' ${' + frontend + ':connection-monitor-base-url}' }} {{ ' ${' + frontend + ':connection-monitor-base-url}' }}
{% endfor %} {% endfor %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment