add podman plugins config
This commit is contained in:
parent
e49dddde1e
commit
f8095142e7
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user