Files
configpolicy/roles/vmalert/templates/vmalert.sysconfig.j2
Dustin C. Hatch ce3e88932d vmalert: Allow configuring http.pathPrefix
*vmalert* requires explicit configuration when it is behind a reverse
proxy.
2022-08-12 13:10:36 -05:00

22 lines
651 B
Django/Jinja

{% if vmalert_datasource_url|d %}
datasource_url={{ vmalert_datasource_url }}
{% endif %}
{% if vmalert_notifier_url|d %}
notifier_url={{ vmalert_notifier_url }}
{% endif %}
{% if vmalert_remote_read_url|d %}
remoteRead_url={{ vmalert_remote_read_url }}
{% endif %}
{% if vmalert_remote_write_url|d %}
remoteWrite_url={{ vmalert_remote_write_url }}
{% endif %}
{% if vmalert_external_url|d %}
external_url={{ vmalert_external_url }}
{% endif %}
{% if vmalert_external_alert_source|d %}
external_alert_source={{ vmalert_external_alert_source }}
{% endif %}
{% if vmalert_http_path_prefix|d %}
http_pathPrefix={{ vmalert_http_path_prefix }}
{% endif %}