Merge "ironic: mount metrics in conductor only when exporter is enabled"

This commit is contained in:
Zuul 2024-05-13 13:50:22 +00:00 committed by Gerrit Code Review
commit cff75f6eac

View File

@ -234,7 +234,7 @@ ironic_conductor_default_volumes:
- "kolla_logs:/var/log/kolla"
- "ironic:/var/lib/ironic"
- "{{ kolla_dev_repos_directory ~ '/ironic/ironic:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/ironic' if ironic_dev_mode | bool else '' }}"
- "ironic_prometheus_exporter_data:/var/lib/ironic/metrics"
- "{{ 'ironic_prometheus_exporter_data:/var/lib/ironic/metrics' if enable_ironic_prometheus_exporter | bool else '' }}"
ironic_tftp_default_volumes:
- "{{ node_config_directory }}/ironic-tftp/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"