add podman plugins config

This commit is contained in:
vincent 2022-11-13 14:55:51 +01:00
parent e49dddde1e
commit f8095142e7
2 changed files with 10 additions and 0 deletions

View File

@ -22,3 +22,4 @@ nomad_host_networks:
# interface: # interface:
# reserved_ports: # reserved_ports:
nomad_allow_privileged: False nomad_allow_privileged: False
nomad_plugins_podman: False

View File

@ -44,6 +44,15 @@ plugin "docker"{
allow_privileged = {{ nomad_allow_privileged|lower }} allow_privileged = {{ nomad_allow_privileged|lower }}
} }
} }
{% if 'nomad_plugins_podman' %}
plugin "nomad-driver-podman" {
config {
volumes {
enabled = true
}
}
}
{% endif %}
consul { consul {
address = "127.0.0.1:8500" address = "127.0.0.1:8500"