Use prometheus_container_additional_networks_auto, instead of prometheus_container_additional_networks
This commit is contained in:
parent
4bf4fc4f62
commit
2ba4b94b99
@ -4279,7 +4279,7 @@ prometheus_gid: "{{ matrix_user_gid }}"
|
|||||||
|
|
||||||
prometheus_container_network: "{{ matrix_monitoring_container_network }}"
|
prometheus_container_network: "{{ matrix_monitoring_container_network }}"
|
||||||
|
|
||||||
prometheus_container_additional_networks: |
|
prometheus_container_additional_networks_auto: |
|
||||||
{{
|
{{
|
||||||
(
|
(
|
||||||
([prometheus_node_exporter_container_network] if prometheus_self_node_scraper_enabled and prometheus_node_exporter_container_network != prometheus_container_network else [])
|
([prometheus_node_exporter_container_network] if prometheus_self_node_scraper_enabled and prometheus_node_exporter_container_network != prometheus_container_network else [])
|
||||||
|
Loading…
Reference in New Issue
Block a user