Update to 2022-08-11 11:00

This commit is contained in:
Daniel Berteaud
2022-08-11 11:00:17 +02:00
parent 617c1583eb
commit 9d4a3e4947
9 changed files with 80 additions and 2 deletions

View File

@@ -164,3 +164,19 @@ telemetry {
publish_allocation_metrics = {{ nomad_conf.telemetry.publish_allocation_metrics | ternary('true', 'false') }}
publish_node_metrics = {{ nomad_conf.telemetry.publish_node_metrics | ternary('true', 'false') }}
}
consul {
{% if nomad_conf.consul.address is defined %}
address = "{{ nomad_conf.consul.address }}"
{% endif %}
{% if nomad_conf.consul.allow_unauthenticated is defined %}
allow_unauthenticated = {{ nomad_conf.consul.allow_unauthenticated | ternary('true', 'false') }}
{% endif %}
{% if nomad_conf.consul.tags is defined and nomad_conf.consul.tags is iterable %}
tags = [
{% for tag in nomad_conf.consul.tags %}
"{{ tag }}"
]
{% endfor %}
{% endif %}
}