Update to 2023-07-09 23:00

This commit is contained in:
Daniel Berteaud
2023-07-09 23:00:09 +02:00
parent 3e396d6020
commit f5d93fc293
6 changed files with 55 additions and 59 deletions

View File

@@ -133,6 +133,27 @@ plugin "docker" {
}
}
{% if 'podman' in nomad_enabled_task_drivers %}
plugin "podman-driver-podman" {
config {
recover_stopped = {{ nomad_conf.client.task_drivers.podman.recover_stopped | ternary('true', 'false') }}
{% if nomad_conf.client.task_drivers.podman.socket_path is defined %}
socket_path = "{{ nomad_conf.client.task_drivers.podman.socket_path }}"
{% endif %}
{% if nomad_conf.client.task_drivers.podman.volumes.enabled %}
volumes {
enabled = true
}
{% endif %}
extra_labels = [
{% for label in nomad_conf.client.task_drivers.podman.extra_labels %}
"{{ label }}",
{% endfor %}
]
}
}
{% endif %}
plugin "raw_exec" {
config {
enabled = {{ ('raw_exec' in nomad_enabled_task_drivers) | ternary('true', 'false') }}