kolla-ansible/ansible/roles/prometheus/templates/clouds.yml.j2
xiaojueguan 964ede7171 enable prometheus-openstack-exporter to use ca cert
you might refer to:
b0167b9412/openstack/clientconfig/results.go (L41)

Change-Id: Ia326360c412aad9ca4d1735cc6486aa2fce22c1a
Closes-Bug: #1850812
2020-05-21 12:58:15 +00:00

14 lines
494 B
Django/Jinja

clouds:
default:
region_name: {{ openstack_region_name }}
identity_api_version: 3
identity_interface: internal
auth:
username: {{ keystone_admin_user }}
password: {{ keystone_admin_password }}
project_name: {{ keystone_admin_project }}
project_domain_name: 'Default'
user_domain_name: 'Default'
auth_url: {{ admin_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ keystone_admin_port }}/v3
cacert: {{ openstack_cacert }}