chore(vmagent): add comparison policy for docker containers
This commit is contained in:
parent
fe29c97c53
commit
37a6e040fd
@ -53,3 +53,7 @@ vmagent_container_env: ~
|
|||||||
vmagent_container_merged_env: >-2
|
vmagent_container_merged_env: >-2
|
||||||
{{ (vmagent_container_base_env | default({}, true))
|
{{ (vmagent_container_base_env | default({}, true))
|
||||||
| combine(vmagent_container_env | default({})) }}
|
| combine(vmagent_container_env | default({})) }}
|
||||||
|
vmagent_container_comparisons:
|
||||||
|
env: allow_more_present
|
||||||
|
image: strict
|
||||||
|
labels: allow_more_present
|
||||||
|
@ -25,4 +25,5 @@
|
|||||||
dns_servers: "{{ vmagent_container_dns_servers | default(omit, true) }}"
|
dns_servers: "{{ vmagent_container_dns_servers | default(omit, true) }}"
|
||||||
network_mode: "{{ vmagent_container_network_mode | default(omit, true) }}"
|
network_mode: "{{ vmagent_container_network_mode | default(omit, true) }}"
|
||||||
restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}"
|
restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}"
|
||||||
|
comparisons: "{{ vmagent_container_comparisons | default(omit, true) }}"
|
||||||
state: "{{ vmagent_container_state }}"
|
state: "{{ vmagent_container_state }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user