Do not add the label if the volume is remote
This commit is contained in:
parent
9d466e4abc
commit
ca136f40b5
|
@ -50,7 +50,11 @@ services:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
|
{% if not epas_client_timbrature_data_remote_volume %}
|
||||||
- {{ epas_client_timbrature_node_constraints }}
|
- {{ epas_client_timbrature_node_constraints }}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
delay: 5s
|
delay: 5s
|
||||||
|
|
Loading…
Reference in New Issue