Merge "Configure CloudKitty with Prometheus basic auth"

This commit is contained in:
Zuul 2023-11-22 11:24:45 +00:00 committed by Gerrit Code Review
commit 449683c5aa
2 changed files with 9 additions and 0 deletions
ansible/roles/cloudkitty/templates
releasenotes/notes

@ -69,6 +69,8 @@ region_name = {{ openstack_region_name }}
{% if cloudkitty_collector_backend == "prometheus" %}
[collector_prometheus]
prometheus_url = {{ cloudkitty_prometheus_url }}
prometheus_user = admin
prometheus_password = {{ prometheus_password }}
{% if cloudkitty_prometheus_cafile is defined %}
cafile = {{ cloudkitty_prometheus_cafile }}
@ -93,6 +95,8 @@ region_name = {{ openstack_region_name }}
metric = openstack_identity_project_info
scope_attribute = id
prometheus_url = {{ cloudkitty_prometheus_url }}
prometheus_user = admin
prometheus_password = {{ prometheus_password }}
{% if cloudkitty_prometheus_cafile is defined %}
cafile = {{ cloudkitty_prometheus_cafile }}

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes CloudKitty failing to query Prometheus now that basic authentication
is required.