Update to 2022-08-03 01:00

This commit is contained in:
Daniel Berteaud
2022-08-03 01:00:22 +02:00
parent e6e442e0fb
commit a11f21e9c6
8 changed files with 71 additions and 5 deletions

View File

@@ -74,8 +74,29 @@ client {
node_class = "{{ nomad_conf.client.node_class }}"
{% endif %}
options {
"driver.allowlist" = "{{ nomad_enabled_task_drivers | join(',') }}"
}
}
{% if nomad_conf.client.enabled %}
{% if 'docker' in nomad_enabled_task_drivers %}
plugin "docker" {
config {
allow_privileged = {{ nomad_conf.client.task_drivers.docker.allow_privileged | ternary('true', 'false') }}
}
}
{% endif %}
{% if 'raw_exec' in nomad_enabled_task_drivers %}
plugin "raw_exec" {
config {
enabled = true
}
}
{% endif %}
{% endif %}
ui {
enabled = {{ nomad_conf.ui.enabled | ternary('true', 'false') }}
{% if nomad_conf.ui.consul_ui is defined %}