chore(vmagent): add comparison policy for docker containers

This commit is contained in:
transcaffeine 2024-10-12 21:08:39 +02:00
parent fe29c97c53
commit 37a6e040fd
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 5 additions and 0 deletions

View File

@ -53,3 +53,7 @@ vmagent_container_env: ~
vmagent_container_merged_env: >-2
{{ (vmagent_container_base_env | default({}, true))
| combine(vmagent_container_env | default({})) }}
vmagent_container_comparisons:
env: allow_more_present
image: strict
labels: allow_more_present

View File

@ -25,4 +25,5 @@
dns_servers: "{{ vmagent_container_dns_servers | default(omit, true) }}"
network_mode: "{{ vmagent_container_network_mode | default(omit, true) }}"
restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}"
comparisons: "{{ vmagent_container_comparisons | default(omit, true) }}"
state: "{{ vmagent_container_state }}"