Update to 2022-08-04 14:00

This commit is contained in:
Daniel Berteaud
2022-08-04 14:00:17 +02:00
parent 2f9165b2e4
commit b80061c423
2 changed files with 9 additions and 0 deletions

View File

@@ -86,6 +86,13 @@ client {
plugin "docker" {
config {
allow_privileged = {{ nomad_conf.client.task_drivers.docker.allow_privileged | ternary('true', 'false') }}
{% if nomad_conf.client.task_drivers.docker.allow_caps is defined %}
allow_caps = [
{% for cap in nomad_conf.client.task_drivers.docker.allow_caps %}
"{{ cap }}",
{% endfor %}
]
{% endif %}
}
}
{% endif %}