chore(vmagent): allow setting container network mode
This commit is contained in:
parent
ad0a234d35
commit
fe29c97c53
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
vmagent_config_global_scrape_interval: "30s"
|
vmagent_config_global_scrape_interval: "30s"
|
||||||
vmagent_config_global_scrape_timeout: "10s"
|
vmagent_config_global_scrape_timeout: "10s"
|
||||||
vmagent_config_global_external_labels: []
|
vmagent_config_global_external_labels: {}
|
||||||
vmagent_config_scrape_configs: []
|
vmagent_config_scrape_configs: []
|
||||||
|
|
||||||
vmagent_config: ~
|
vmagent_config: ~
|
||||||
|
@ -29,6 +29,7 @@ vmagent_container_command: >-2
|
|||||||
-{{ flag }}
|
-{{ flag }}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
vmagent_container_networks: ~
|
vmagent_container_networks: ~
|
||||||
|
vmagent_container_network_mode: ~
|
||||||
vmagent_container_etc_hosts: ~
|
vmagent_container_etc_hosts: ~
|
||||||
vmagent_container_dns_servers: ~
|
vmagent_container_dns_servers: ~
|
||||||
vmagent_container_restart_policy: >-2
|
vmagent_container_restart_policy: >-2
|
||||||
|
@ -23,5 +23,6 @@
|
|||||||
networks: "{{ vmagent_container_networks | default(omit, true) }}"
|
networks: "{{ vmagent_container_networks | default(omit, true) }}"
|
||||||
etc_hosts: "{{ vmagent_container_etc_hosts | default(omit, true) }}"
|
etc_hosts: "{{ vmagent_container_etc_hosts | default(omit, true) }}"
|
||||||
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) }}"
|
||||||
restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}"
|
restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}"
|
||||||
state: "{{ vmagent_container_state }}"
|
state: "{{ vmagent_container_state }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user