Merge "Configure CloudKitty with Prometheus basic auth"
This commit is contained in:
commit
449683c5aa
ansible/roles/cloudkitty/templates
releasenotes/notes
@ -69,6 +69,8 @@ region_name = {{ openstack_region_name }}
|
|||||||
{% if cloudkitty_collector_backend == "prometheus" %}
|
{% if cloudkitty_collector_backend == "prometheus" %}
|
||||||
[collector_prometheus]
|
[collector_prometheus]
|
||||||
prometheus_url = {{ cloudkitty_prometheus_url }}
|
prometheus_url = {{ cloudkitty_prometheus_url }}
|
||||||
|
prometheus_user = admin
|
||||||
|
prometheus_password = {{ prometheus_password }}
|
||||||
|
|
||||||
{% if cloudkitty_prometheus_cafile is defined %}
|
{% if cloudkitty_prometheus_cafile is defined %}
|
||||||
cafile = {{ cloudkitty_prometheus_cafile }}
|
cafile = {{ cloudkitty_prometheus_cafile }}
|
||||||
@ -93,6 +95,8 @@ region_name = {{ openstack_region_name }}
|
|||||||
metric = openstack_identity_project_info
|
metric = openstack_identity_project_info
|
||||||
scope_attribute = id
|
scope_attribute = id
|
||||||
prometheus_url = {{ cloudkitty_prometheus_url }}
|
prometheus_url = {{ cloudkitty_prometheus_url }}
|
||||||
|
prometheus_user = admin
|
||||||
|
prometheus_password = {{ prometheus_password }}
|
||||||
|
|
||||||
{% if cloudkitty_prometheus_cafile is defined %}
|
{% if cloudkitty_prometheus_cafile is defined %}
|
||||||
cafile = {{ cloudkitty_prometheus_cafile }}
|
cafile = {{ cloudkitty_prometheus_cafile }}
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes CloudKitty failing to query Prometheus now that basic authentication
|
||||||
|
is required.
|
Loading…
x
Reference in New Issue
Block a user